Exception: LobbyingDisclosureClient::Errors::RequestThrottledError
- Inherits:
-
StandardError
- Object
- StandardError
- LobbyingDisclosureClient::Errors::RequestThrottledError
- Extended by:
- T::Sig
- Defined in:
- lib/lobbying_disclosure_client/errors/request_throttled_error.rb
Instance Attribute Summary collapse
-
#retry_after ⇒ Object
readonly
Returns the value of attribute retry_after.
Instance Method Summary collapse
-
#initialize(message, retry_after) ⇒ RequestThrottledError
constructor
A new instance of RequestThrottledError.
Constructor Details
#initialize(message, retry_after) ⇒ RequestThrottledError
Returns a new instance of RequestThrottledError.
20 21 22 23 |
# File 'lib/lobbying_disclosure_client/errors/request_throttled_error.rb', line 20 def initialize(, retry_after) super() @retry_after = retry_after end |
Instance Attribute Details
#retry_after ⇒ Object (readonly)
Returns the value of attribute retry_after.
12 13 14 |
# File 'lib/lobbying_disclosure_client/errors/request_throttled_error.rb', line 12 def retry_after @retry_after end |