Exception: Pluggy::RateLimitError
- Defined in:
- lib/pluggy/errors.rb
Instance Attribute Summary
Attributes inherited from Error
#api_message, #code, #code_description, #data, #http_body, #http_headers, #http_status, #json_body
Instance Method Summary collapse
-
#retry_after ⇒ Object
Undocumented in the spec, so read it opportunistically and never depend on it.
Methods inherited from Error
Constructor Details
This class inherits a constructor from Pluggy::Error
Instance Method Details
#retry_after ⇒ Object
Undocumented in the spec, so read it opportunistically and never depend on it. GET /accounts/id/balance is the endpoint that documents a 429, and that limit belongs to the financial institution, not to Pluggy.
95 96 97 98 |
# File 'lib/pluggy/errors.rb', line 95 def retry_after value = http_headers["retry-after"] value&.to_i end |