Class: PlatformAPI::TeamPreferences
- Inherits:
-
Object
- Object
- PlatformAPI::TeamPreferences
- Defined in:
- lib/platform-api/client.rb
Overview
Tracks a Team's Preferences
Instance Method Summary collapse
-
#initialize(client) ⇒ TeamPreferences
constructor
A new instance of TeamPreferences.
-
#list(team_preferences_identity) ⇒ Object
Retrieve Team Preferences.
-
#update(team_preferences_identity, body = {}) ⇒ Object
Update Team Preferences.
Constructor Details
#initialize(client) ⇒ TeamPreferences
Returns a new instance of TeamPreferences.
3377 3378 3379 |
# File 'lib/platform-api/client.rb', line 3377 def initialize(client) @client = client end |
Instance Method Details
#list(team_preferences_identity) ⇒ Object
Retrieve Team Preferences
3384 3385 3386 |
# File 'lib/platform-api/client.rb', line 3384 def list(team_preferences_identity) @client.team_preferences.list(team_preferences_identity) end |
#update(team_preferences_identity, body = {}) ⇒ Object
Update Team Preferences
3392 3393 3394 |
# File 'lib/platform-api/client.rb', line 3392 def update(team_preferences_identity, body = {}) @client.team_preferences.update(team_preferences_identity, body) end |