Class: SnapDeploy::Provider::Heroku::API::RateLimit
- Inherits:
-
Object
- Object
- SnapDeploy::Provider::Heroku::API::RateLimit
- 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
-
#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.
1346 1347 1348 |
# File 'lib/snap_deploy/provider/heroku/api.rb', line 1346 def initialize(client) @client = client end |
Instance Method Details
#info ⇒ Object
Info for rate limits.
1351 1352 1353 |
# File 'lib/snap_deploy/provider/heroku/api.rb', line 1351 def info() @client.rate_limit.info() end |