Exception: FlowChat::Intercom::RateLimitError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/flow_chat/intercom/client.rb

Overview

Rate limiting error

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, retry_after = nil) ⇒ RateLimitError

Returns a new instance of RateLimitError.



11
12
13
14
# File 'lib/flow_chat/intercom/client.rb', line 11

def initialize(message, retry_after = nil)
  super(message)
  @retry_after = retry_after
end

Instance Attribute Details

#retry_afterObject (readonly)

Returns the value of attribute retry_after.



9
10
11
# File 'lib/flow_chat/intercom/client.rb', line 9

def retry_after
  @retry_after
end