Class: Tomba::Usage
Overview
Usage service for retrieving API usage statistics.
Provides methods to get account usage information.
Instance Method Summary collapse
-
#get_usage ⇒ Hash
Get Usage.
Methods inherited from Service
Constructor Details
This class inherits a constructor from Tomba::Service
Instance Method Details
#get_usage ⇒ Hash
Get Usage
Returns the current API usage statistics for the account.
17 18 19 20 21 22 23 24 25 |
# File 'lib/tomba/services/usage.rb', line 17 def get_usage path = '/usage' params = {} @client.call('get', path, { 'content-type' => 'application/json' }, params) end |