Class: Transloadit::Exception::RateLimitReached
- Inherits:
-
RestClient::RequestEntityTooLarge
- Object
- RestClient::RequestEntityTooLarge
- Transloadit::Exception::RateLimitReached
- Defined in:
- lib/transloadit/exception.rb
Overview
Exception raised when Rate limit error response is returned from the API. See Rate Limiting
Instance Method Summary collapse
Instance Method Details
#default_message ⇒ Object
11 12 13 14 |
# File 'lib/transloadit/exception.rb', line 11 def retry_msg = " Retry in #{@response.wait_time} seconds" if @response "Transloadit Rate Limit Reached.#{retry_msg}" end |