Exception: AhoSdk::RateLimitError
- Defined in:
- lib/aho_sdk/http_client.rb
Instance Attribute Summary collapse
-
#retry_after ⇒ Object
readonly
Returns the value of attribute retry_after.
Attributes inherited from ApiError
#details, #error_code, #raw_body, #request_id, #status_code
Instance Method Summary collapse
-
#initialize(body, status_code, request_id, retry_after) ⇒ RateLimitError
constructor
A new instance of RateLimitError.
Constructor Details
#initialize(body, status_code, request_id, retry_after) ⇒ RateLimitError
Returns a new instance of RateLimitError.
406 407 408 409 |
# File 'lib/aho_sdk/http_client.rb', line 406 def initialize(body, status_code, request_id, retry_after) super(body, status_code, request_id) @retry_after = retry_after end |
Instance Attribute Details
#retry_after ⇒ Object (readonly)
Returns the value of attribute retry_after.
404 405 406 |
# File 'lib/aho_sdk/http_client.rb', line 404 def retry_after @retry_after end |