Class: PlatformAPI::AllowedAddonService
- Inherits:
-
Object
- Object
- PlatformAPI::AllowedAddonService
- Defined in:
- lib/platform-api/client.rb
Overview
Entities that have been allowed to be used by a Team
Instance Method Summary collapse
- #create_by_team(team_name_or_team_id, body = {}) ⇒ Object
- #delete_by_team(team_name_or_team_id, allowed_addon_service_id_or_addon_service_name) ⇒ Object
-
#initialize(client) ⇒ AllowedAddonService
constructor
A new instance of AllowedAddonService.
- #list_by_team(team_name_or_team_id) ⇒ Object
Constructor Details
#initialize(client) ⇒ AllowedAddonService
Returns a new instance of AllowedAddonService.
1569 1570 1571 |
# File 'lib/platform-api/client.rb', line 1569 def initialize(client) @client = client end |
Instance Method Details
#create_by_team(team_name_or_team_id, body = {}) ⇒ Object
1595 1596 1597 |
# File 'lib/platform-api/client.rb', line 1595 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) ⇒ Object
1609 1610 1611 |
# File 'lib/platform-api/client.rb', line 1609 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) ⇒ Object
1581 1582 1583 |
# File 'lib/platform-api/client.rb', line 1581 def list_by_team(team_name_or_team_id) @client.allowed_addon_service.list_by_team(team_name_or_team_id) end |