Exception: Blueticks::Errors::RateLimitError
- Inherits:
-
BluetickError
- Object
- StandardError
- BluetickError
- Blueticks::Errors::RateLimitError
- Defined in:
- lib/blueticks/errors.rb
Overview
429 — the client is being throttled.
Instance Attribute Summary collapse
-
#retry_after ⇒ Object
readonly
Returns the value of attribute retry_after.
Attributes inherited from BluetickError
#code, #request_id, #response, #status_code
Instance Method Summary collapse
-
#initialize(retry_after: nil, **kwargs) ⇒ RateLimitError
constructor
A new instance of RateLimitError.
Constructor Details
#initialize(retry_after: nil, **kwargs) ⇒ RateLimitError
Returns a new instance of RateLimitError.
40 41 42 43 |
# File 'lib/blueticks/errors.rb', line 40 def initialize(retry_after: nil, **kwargs) super(**kwargs) @retry_after = retry_after end |
Instance Attribute Details
#retry_after ⇒ Object (readonly)
Returns the value of attribute retry_after.
38 39 40 |
# File 'lib/blueticks/errors.rb', line 38 def retry_after @retry_after end |