Exception: Qiwi::ServerError
- Inherits:
-
StandardError
- Object
- StandardError
- Qiwi::ServerError
- Defined in:
- lib/qiwi/client.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ ServerError
constructor
A new instance of ServerError.
Constructor Details
#initialize(response) ⇒ ServerError
Returns a new instance of ServerError.
93 94 95 |
# File 'lib/qiwi/client.rb', line 93 def initialize(response) super(response.body) end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
92 93 94 |
# File 'lib/qiwi/client.rb', line 92 def response @response end |