Exception: Payhub::Errors::RateLimitedError
- Defined in:
- lib/payhub/errors.rb
Instance Attribute Summary collapse
-
#retry_after ⇒ Object
readonly
Returns the value of attribute retry_after.
Attributes inherited from APIError
#code, #details, #http_status, #request_id
Instance Method Summary collapse
-
#initialize(message, retry_after: nil, **kwargs) ⇒ RateLimitedError
constructor
A new instance of RateLimitedError.
Constructor Details
#initialize(message, retry_after: nil, **kwargs) ⇒ RateLimitedError
Returns a new instance of RateLimitedError.
34 35 36 37 |
# File 'lib/payhub/errors.rb', line 34 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.
32 33 34 |
# File 'lib/payhub/errors.rb', line 32 def retry_after @retry_after end |