Class: SnapDeploy::Provider::Heroku::API::RateLimit

Inherits:
Object
  • Object
show all
Defined in:
lib/snap_deploy/provider/heroku/api.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.



1346
1347
1348
# File 'lib/snap_deploy/provider/heroku/api.rb', line 1346

def initialize(client)
  @client = client
end

Instance Method Details

#infoObject

Info for rate limits.



1351
1352
1353
# File 'lib/snap_deploy/provider/heroku/api.rb', line 1351

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