Exception: Qiwi::ServerError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/qiwi/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#responseObject (readonly)

Returns the value of attribute response.



92
93
94
# File 'lib/qiwi/client.rb', line 92

def response
  @response
end