Class: PlatformAPI::OrganizationPreferences
- Inherits:
-
Object
- Object
- PlatformAPI::OrganizationPreferences
- Defined in:
- lib/platform-api/client.rb
Overview
Deprecated: Tracks an organization's preferences
Instance Method Summary collapse
-
#initialize(client) ⇒ OrganizationPreferences
constructor
A new instance of OrganizationPreferences.
-
#list(organization_preferences_identity) ⇒ Object
Retrieve Organization Preferences.
-
#update(organization_preferences_identity, body = {}) ⇒ Object
Update Organization Preferences.
Constructor Details
#initialize(client) ⇒ OrganizationPreferences
Returns a new instance of OrganizationPreferences.
2328 2329 2330 |
# File 'lib/platform-api/client.rb', line 2328 def initialize(client) @client = client end |
Instance Method Details
#list(organization_preferences_identity) ⇒ Object
Retrieve Organization Preferences
2335 2336 2337 |
# File 'lib/platform-api/client.rb', line 2335 def list(organization_preferences_identity) @client.organization_preferences.list(organization_preferences_identity) end |
#update(organization_preferences_identity, body = {}) ⇒ Object
Update Organization Preferences
2343 2344 2345 |
# File 'lib/platform-api/client.rb', line 2343 def update(organization_preferences_identity, body = {}) @client.organization_preferences.update(organization_preferences_identity, body) end |