Class: Peatio::Thought::Client::ResponseError
- Defined in:
- lib/peatio/thought/client.rb
Instance Method Summary collapse
-
#initialize(code, msg) ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(code, msg) ⇒ ResponseError
Returns a new instance of ResponseError.
15 16 17 |
# File 'lib/peatio/thought/client.rb', line 15 def initialize(code, msg) super "#{msg} (#{code})" end |