Class: PlatformAPI::RateLimit

Inherits:
Object
  • Object
show all
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

Constructor Details

#initialize(client) ⇒ RateLimit

Returns a new instance of RateLimit.


2198
2199
2200
# File 'lib/platform-api/client.rb', line 2198

def initialize(client)
  @client = client
end

Instance Method Details

#infoObject

Info for rate limits.


2203
2204
2205
# File 'lib/platform-api/client.rb', line 2203

def info()
  @client.rate_limit.info()
end