class PlatformAPI::WhitelistedAddonService
Entities that have been whitelisted to be used by a Team
. Deprecated in favor of [Allowed Add-on Service](allowed-add-on-service) endpoints.
Public Class Methods
# File lib/platform-api/client.rb, line 3637 def initialize(client) @client = client end
Public Instance Methods
Whitelist an Add-on Service - Deprecated in favor of [`POST /teams/{team_name_or_id}/allowed-addon-services`](allowed-add-on-service-create-by-team) endpoint.
@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 3652 def create_by_team_deprecated(team_name_or_team_id, body = {}) @client.whitelisted_addon_service.create_by_team_deprecated(team_name_or_team_id, body) end
Remove a whitelisted entity - Deprecated in favor of [`DELETE /teams/{team_name_or_id}/allowed-addon-services/{allowed_add_on_service_id_or_name}`](allowed-add-on-service-delete-by-team) endpoint.
@param team_name_or_team_id: unique name of team or unique identifier of team @param whitelisted_addon_service_id_or_addon_service_name: unique identifier for this whitelisting entity or unique name of this add-on-service
# File lib/platform-api/client.rb, line 3660 def delete_by_team_deprecated(team_name_or_team_id, whitelisted_addon_service_id_or_addon_service_name) @client.whitelisted_addon_service.delete_by_team_deprecated(team_name_or_team_id, whitelisted_addon_service_id_or_addon_service_name) end
List all whitelisted Add-on Services for a Team
- Deprecated in favor of [`GET /teams/{team_name_or_id}/allowed-addon-services`](allowed-add-on-service-list-by-team) endpoint.
@param team_name_or_team_id: unique name of team or unique identifier of team
# File lib/platform-api/client.rb, line 3644 def list_by_team_deprecated(team_name_or_team_id) @client.whitelisted_addon_service.list_by_team_deprecated(team_name_or_team_id) end