Exception: Mysigner::RateLimitError

Inherits:
ClientError
  • Object
show all
Defined in:
lib/mysigner/client.rb

Instance Attribute Summary collapse

Attributes inherited from ClientError

#details, #error_code, #suggestion, #timestamp

Instance Method Summary collapse

Constructor Details

#initialize(message, retry_after = nil) ⇒ RateLimitError

Returns a new instance of RateLimitError.



205
206
207
208
# File 'lib/mysigner/client.rb', line 205

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.



203
204
205
# File 'lib/mysigner/client.rb', line 203

def retry_after
  @retry_after
end