class PlatformAPI::TeamFeature
A team feature represents a feature enabled on a team account.
Public Class Methods
new(client)
click to toggle source
# File lib/platform-api/client.rb, line 3234 def initialize(client) @client = client end
Public Instance Methods
info(team_name_or_team_id, team_feature_id_or_team_feature_name)
click to toggle source
Info for an existing team feature.
@param team_name_or_team_id: unique name of team or unique identifier of team @param team_feature_id_or_team_feature_name: unique identifier of team feature or unique name of team feature
# File lib/platform-api/client.rb, line 3242 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)
click to toggle source
List existing team features.
@param team_name_or_team_id: unique name of team or unique identifier of team
# File lib/platform-api/client.rb, line 3249 def list(team_name_or_team_id) @client.team_feature.list(team_name_or_team_id) end