Class: PlatformAPI::RateLimit
- Inherits:
-
Object
- Object
- PlatformAPI::RateLimit
- Defined in:
- lib/platform-api/client.rb
Overview
Rate Limit represents the number of request tokens each account holds. Requests to this endpoint do not count towards the rate limit.
Instance Method Summary collapse
-
#info ⇒ Object
Info for rate limits.
-
#initialize(client) ⇒ RateLimit
constructor
A new instance of RateLimit.
Constructor Details
#initialize(client) ⇒ RateLimit
Returns a new instance of RateLimit.
2040 2041 2042 |
# File 'lib/platform-api/client.rb', line 2040 def initialize(client) @client = client end |
Instance Method Details
#info ⇒ Object
Info for rate limits.
2045 2046 2047 |
# File 'lib/platform-api/client.rb', line 2045 def info() @client.rate_limit.info() end |