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.
3343 3344 3345 |
# File 'lib/platform-api/client.rb', line 3343 def initialize(client) @client = client end |
Instance Method Details
#list(team_preferences_identity) ⇒ Object
Retrieve Team Preferences
3350 3351 3352 |
# File 'lib/platform-api/client.rb', line 3350 def list(team_preferences_identity) @client.team_preferences.list(team_preferences_identity) end |
#update(team_preferences_identity, body = {}) ⇒ Object
Update Team Preferences
3358 3359 3360 |
# File 'lib/platform-api/client.rb', line 3358 def update(team_preferences_identity, body = {}) @client.team_preferences.update(team_preferences_identity, body) end |