Exception: FlowChat::Intercom::RateLimitError
- Inherits:
-
StandardError
- Object
- StandardError
- FlowChat::Intercom::RateLimitError
- Defined in:
- lib/flow_chat/intercom/client.rb
Overview
Rate limiting error
Instance Attribute Summary collapse
-
#retry_after ⇒ Object
readonly
Returns the value of attribute retry_after.
Instance Method Summary collapse
-
#initialize(message, retry_after = nil) ⇒ RateLimitError
constructor
A new instance of RateLimitError.
Constructor Details
#initialize(message, retry_after = nil) ⇒ RateLimitError
Returns a new instance of RateLimitError.
14 15 16 17 |
# File 'lib/flow_chat/intercom/client.rb', line 14 def initialize(, retry_after = nil) 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/flow_chat/intercom/client.rb', line 12 def retry_after @retry_after end |