Exception: Decommas::ThrottledResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- Decommas::ThrottledResponseError
- Defined in:
- lib/decommas/errors.rb
Instance Method Summary collapse
-
#initialize(response) ⇒ ThrottledResponseError
constructor
A new instance of ThrottledResponseError.
Constructor Details
#initialize(response) ⇒ ThrottledResponseError
Returns a new instance of ThrottledResponseError.
15 16 17 |
# File 'lib/decommas/errors.rb', line 15 def initialize(response) super("DecommasApi throttled you with: #{response.code} #{response.}") end |