Exception: DSU3::RateLimitError
- Inherits:
-
StandardError
- Object
- StandardError
- DSU3::RateLimitError
- Defined in:
- lib/dsu3/errors.rb
Instance Attribute Summary collapse
-
#retry_after ⇒ Object
readonly
Returns the value of attribute retry_after.
Instance Method Summary collapse
-
#initialize(message, retry_after) ⇒ RateLimitError
constructor
A new instance of RateLimitError.
Constructor Details
#initialize(message, retry_after) ⇒ RateLimitError
Returns a new instance of RateLimitError.
7 8 9 10 |
# File 'lib/dsu3/errors.rb', line 7 def initialize(, retry_after) @message = @retry_after = retry_after end |
Instance Attribute Details
#retry_after ⇒ Object (readonly)
Returns the value of attribute retry_after.
5 6 7 |
# File 'lib/dsu3/errors.rb', line 5 def retry_after @retry_after end |