Class: PlatformAPI::WhitelistedAddonService
- Inherits:
-
Object
- Object
- PlatformAPI::WhitelistedAddonService
- Defined in:
- lib/platform-api/client.rb
Overview
Entities that have been whitelisted to be used by a Team. Deprecated in favor of Allowed Add-on Service endpoints.
Instance Method Summary collapse
-
#create_by_team_deprecated(team_name_or_team_id, body = {}) ⇒ Object
Whitelist an Add-on Service - Deprecated in favor of
POST /teams/{team_name_or_id}/allowed-addon-servicesendpoint. -
#delete_by_team_deprecated(team_name_or_team_id, whitelisted_addon_service_id_or_addon_service_name) ⇒ Object
Remove a whitelisted entity - Deprecated in favor of
DELETE /teams/{team_name_or_id}/allowed-addon-services/{allowed_add_on_service_id_or_name}endpoint. -
#initialize(client) ⇒ WhitelistedAddonService
constructor
A new instance of WhitelistedAddonService.
-
#list_by_team_deprecated(team_name_or_team_id) ⇒ Object
List all whitelisted Add-on Services for a Team - Deprecated in favor of
GET /teams/{team_name_or_id}/allowed-addon-servicesendpoint.
Constructor Details
#initialize(client) ⇒ WhitelistedAddonService
Returns a new instance of WhitelistedAddonService.
3637 3638 3639 |
# File 'lib/platform-api/client.rb', line 3637 def initialize(client) @client = client end |
Instance Method Details
#create_by_team_deprecated(team_name_or_team_id, body = {}) ⇒ Object
Whitelist an Add-on Service - Deprecated in favor of POST /teams/{team_name_or_id}/allowed-addon-services endpoint.
3652 3653 3654 |
# 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 |
#delete_by_team_deprecated(team_name_or_team_id, whitelisted_addon_service_id_or_addon_service_name) ⇒ Object
Remove a whitelisted entity - Deprecated in favor of DELETE /teams/{team_name_or_id}/allowed-addon-services/{allowed_add_on_service_id_or_name} endpoint.
3660 3661 3662 |
# 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_by_team_deprecated(team_name_or_team_id) ⇒ Object
List all whitelisted Add-on Services for a Team - Deprecated in favor of GET /teams/{team_name_or_id}/allowed-addon-services endpoint.
3644 3645 3646 |
# 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 |