Class: PlatformAPI::TeamMonthlyUsage

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

Overview

Usage for an enterprise team at a monthly resolution.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ TeamMonthlyUsage

Returns a new instance of TeamMonthlyUsage.



3321
3322
3323
# File 'lib/platform-api/client.rb', line 3321

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



3330
3331
3332
# File 'lib/platform-api/client.rb', line 3330

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