Class: PlatformAPI::TeamFeature
- Inherits:
-
Object
- Object
- PlatformAPI::TeamFeature
- Defined in:
- lib/platform-api/client.rb
Overview
A team feature represents a feature enabled on a team account.
Instance Method Summary collapse
-
#info(team_name_or_team_id, team_feature_id_or_team_feature_name) ⇒ Object
Info for an existing team feature.
-
#initialize(client) ⇒ TeamFeature
constructor
A new instance of TeamFeature.
-
#list(team_name_or_team_id) ⇒ Object
List existing team features.
Constructor Details
#initialize(client) ⇒ TeamFeature
Returns a new instance of TeamFeature.
2857 2858 2859 |
# File 'lib/platform-api/client.rb', line 2857 def initialize(client) @client = client end |
Instance Method Details
#info(team_name_or_team_id, team_feature_id_or_team_feature_name) ⇒ Object
Info for an existing team feature.
2865 2866 2867 |
# File 'lib/platform-api/client.rb', line 2865 def info(team_name_or_team_id, team_feature_id_or_team_feature_name) @client.team_feature.info(team_name_or_team_id, team_feature_id_or_team_feature_name) end |
#list(team_name_or_team_id) ⇒ Object
List existing team features.
2872 2873 2874 |
# File 'lib/platform-api/client.rb', line 2872 def list(team_name_or_team_id) @client.team_feature.list(team_name_or_team_id) end |