class PlatformAPI::TeamPreferences

Tracks a Team's Preferences

Public Class Methods

new(client) click to toggle source
# File lib/platform-api/client.rb, line 3376
def initialize(client)
  @client = client
end

Public Instance Methods

list(team_preferences_identity) click to toggle source

Retrieve Team Preferences

@param team_preferences_identity:

# File lib/platform-api/client.rb, line 3383
def list(team_preferences_identity)
  @client.team_preferences.list(team_preferences_identity)
end
update(team_preferences_identity, body = {}) click to toggle source

Update Team Preferences

@param team_preferences_identity: @param body: the object to pass as the request payload

# File lib/platform-api/client.rb, line 3391
def update(team_preferences_identity, body = {})
  @client.team_preferences.update(team_preferences_identity, body)
end