Exception: ActiveMerchant::Billing::BalancedGateway::Error
- Inherits:
-
StandardError
- Object
- StandardError
- ActiveMerchant::Billing::BalancedGateway::Error
- Defined in:
- lib/active_merchant/billing/gateways/balanced.rb
Direct Known Subclasses
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.
75 76 77 78 |
# File 'lib/active_merchant/billing/gateways/balanced.rb', line 75 def initialize(response, msg=nil) @response = response super(msg || response['description']) end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
73 74 75 |
# File 'lib/active_merchant/billing/gateways/balanced.rb', line 73 def response @response end |