Exception: ActiveMerchant::Billing::FirstDataGateway::Error
- Inherits:
-
StandardError
- Object
- StandardError
- ActiveMerchant::Billing::FirstDataGateway::Error
- Defined in:
- lib/active_merchant/billing/first_data_gateway.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response, msg = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(response, msg = nil) ⇒ Error
Returns a new instance of Error.
61 62 63 64 |
# File 'lib/active_merchant/billing/first_data_gateway.rb', line 61 def initialize(response, msg=nil) @response = response super(msg || response[:error]) end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
59 60 61 |
# File 'lib/active_merchant/billing/first_data_gateway.rb', line 59 def response @response end |