Exception: Decommas::ResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- Decommas::ResponseError
- Defined in:
- lib/decommas/errors.rb
Instance Method Summary collapse
-
#initialize(response) ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(response) ⇒ ResponseError
Returns a new instance of ResponseError.
9 10 11 |
# File 'lib/decommas/errors.rb', line 9 def initialize(response) super("DecommasApi returned: #{response.code} #{response.}") end |