Exception: ActiveMerchant::Billing::FirstData::Gateway::Error
- Inherits:
-
StandardError
- Object
- StandardError
- ActiveMerchant::Billing::FirstData::Gateway::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.
23 24 25 26 |
# File 'lib/active_merchant/billing/first_data/gateway.rb', line 23 def initialize(response, msg=nil) @response = response super(msg || response[:error]) end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
21 22 23 |
# File 'lib/active_merchant/billing/first_data/gateway.rb', line 21 def response @response end |