Exception: CloudPayments::Client::GatewayError
- Inherits:
-
StandardError
- Object
- StandardError
- CloudPayments::Client::GatewayError
- Defined in:
- lib/cloud_payments/client/errors.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize(message, body) ⇒ GatewayError
constructor
A new instance of GatewayError.
Constructor Details
#initialize(message, body) ⇒ GatewayError
Returns a new instance of GatewayError.
9 10 11 12 |
# File 'lib/cloud_payments/client/errors.rb', line 9 def initialize(, body) super() @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
7 8 9 |
# File 'lib/cloud_payments/client/errors.rb', line 7 def body @body end |