Class: PlatformAPI::TeamAddon

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

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ TeamAddon

Returns a new instance of TeamAddon.



3064
3065
3066
# File 'lib/platform-api/client.rb', line 3064

def initialize(client)
  @client = client
end

Instance Method Details

#list_for_team(team_name_or_team_id) ⇒ Object

List add-ons used across all Team apps

Parameters:

  • team_name_or_team_id:

    unique name of team or unique identifier of team



3071
3072
3073
# File 'lib/platform-api/client.rb', line 3071

def list_for_team(team_name_or_team_id)
  @client.team_addon.list_for_team(team_name_or_team_id)
end