Class: Workarea::GiftCards::Gateway::Response
- Inherits:
-
Struct
- Object
- Struct
- Workarea::GiftCards::Gateway::Response
- Defined in:
- lib/workarea/gift_cards/gateway.rb
Overview
Object returns from transaction requests.
Instance Attribute Summary collapse
-
#message ⇒ String
information on the transaction result.
-
#success? ⇒ Boolean
whether the transaction was successful or not.
Instance Attribute Details
#message ⇒ String
information on the transaction result
9 10 11 |
# File 'lib/workarea/gift_cards/gateway.rb', line 9 def @message end |
#success? ⇒ Boolean
whether the transaction was successful or not
9 10 11 |
# File 'lib/workarea/gift_cards/gateway.rb', line 9
def success?
@success?
end
|