class PlatformAPI::AllowedAddonService
Entities that have been allowed to be used by a Team
Public Class Methods
new(client)
click to toggle source
# File lib/platform-api/client.rb, line 1200 def initialize(client) @client = client end
Public Instance Methods
create_by_team(team_name_or_team_id, body = {})
click to toggle source
Allow an Add-on Service
@param team_name_or_team_id: unique name of team or unique identifier of team @param body: the object to pass as the request payload
# File lib/platform-api/client.rb, line 1215 def create_by_team(team_name_or_team_id, body = {}) @client.allowed_addon_service.create_by_team(team_name_or_team_id, body) end
delete_by_team(team_name_or_team_id, allowed_addon_service_id_or_addon_service_name)
click to toggle source
Remove an allowed add-on service
@param team_name_or_team_id: unique name of team or unique identifier of team @param allowed_addon_service_id_or_addon_service_name: unique identifier for this allowed add-on service record or unique name of this add-on-service
# File lib/platform-api/client.rb, line 1223 def delete_by_team(team_name_or_team_id, allowed_addon_service_id_or_addon_service_name) @client.allowed_addon_service.delete_by_team(team_name_or_team_id, allowed_addon_service_id_or_addon_service_name) end
list_by_team(team_name_or_team_id)
click to toggle source
List all allowed add-on services for a team
@param team_name_or_team_id: unique name of team or unique identifier of team
# File lib/platform-api/client.rb, line 1207 def list_by_team(team_name_or_team_id) @client.allowed_addon_service.list_by_team(team_name_or_team_id) end