class PlatformAPI::EnterpriseAccountUsageDaily
Usage for an enterprise account at a daily resolution.
Public Class Methods
new(client)
click to toggle source
# File lib/platform-api/client.rb, line 1846 def initialize(client) @client = client end
Public Instance Methods
info(enterprise_account_id)
click to toggle source
Retrieves usage for an enterprise account for a range of days. Start and end dates can be specified as query parameters using the date format, YYYY-MM-DD format. For example, '/enterprise-accounts/example-account/usage/daily?start=2019-01-01&end=2019-01-31' specifies all days in January for 2019.
@param enterprise_account_id: unique identifier of the enterprise account
# File lib/platform-api/client.rb, line 1853 def info(enterprise_account_id) @client.enterprise_account_usage_daily.info(enterprise_account_id) end