Class: PlatformAPI::TeamDailyUsage

Inherits:
Object
  • Object
show all
Defined in:
lib/platform-api/client.rb

Overview

Usage for an enterprise team at a daily resolution.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ TeamDailyUsage

Returns a new instance of TeamDailyUsage.



3163
3164
3165
# File 'lib/platform-api/client.rb', line 3163

def initialize(client)
  @client = client
end

Instance Method Details

#info(team_id, body = {}) ⇒ Object

Parameters:

  • team_id:

    unique identifier of team

  • body:

    the object to pass as the request payload



3172
3173
3174
# File 'lib/platform-api/client.rb', line 3172

def info(team_id, body = {})
  @client.team_daily_usage.info(team_id, body)
end