Module: BookingSync::API::Client::PreferencesGeneralSettings
- Included in:
- BookingSync::API::Client
- Defined in:
- lib/bookingsync/api/client/preferences_general_settings.rb
Instance Method Summary collapse
-
#edit_preferences_general_setting(preferences_general_setting, options = {}) ⇒ BookingSync::API::Resource
Edit a preferences general setting.
-
#preferences_general_settings(options = {}, &block) ⇒ Array<BookingSync::API::Resource>
List preferences general settings.
Instance Method Details
#edit_preferences_general_setting(preferences_general_setting, options = {}) ⇒ BookingSync::API::Resource
Edit a preferences general setting
30 31 32 33 |
# File 'lib/bookingsync/api/client/preferences_general_settings.rb', line 30 def edit_preferences_general_setting(preferences_general_setting, = {}) put("preferences_general_settings/#{preferences_general_setting}", preferences_general_settings: []).pop end |
#preferences_general_settings(options = {}, &block) ⇒ Array<BookingSync::API::Resource>
List preferences general settings
Returns preferences general settings for the account user is authenticated with.
16 17 18 |
# File 'lib/bookingsync/api/client/preferences_general_settings.rb', line 16 def preferences_general_settings( = {}, &block) paginate :preferences_general_settings, , &block end |