Exception: WebPay::ErrorResponse::ErrorResponseError
- Defined in:
- lib/webpay/error.rb
Direct Known Subclasses
ApiError, AuthenticationError, CardError, InvalidRequestError
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(message, status, data) ⇒ ErrorResponseError
constructor
A new instance of ErrorResponseError.
Constructor Details
#initialize(message, status, data) ⇒ ErrorResponseError
Returns a new instance of ErrorResponseError.
37 38 39 40 41 |
# File 'lib/webpay/error.rb', line 37 def initialize(, status, data) super() @status = status @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
36 37 38 |
# File 'lib/webpay/error.rb', line 36 def data @data end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
36 37 38 |
# File 'lib/webpay/error.rb', line 36 def status @status end |