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.



3044
3045
3046
# File 'lib/platform-api/client.rb', line 3044

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



3051
3052
3053
# File 'lib/platform-api/client.rb', line 3051

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