booker_ruby 1.9.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dba6cec71b2f2faea8ae1e03deaf657889e327cf
4
- data.tar.gz: 16915368f4fa0f0cb5cc657a893468f74f6fb210
3
+ metadata.gz: 87ff013355e30096191c7a94bea5c87b9f637851
4
+ data.tar.gz: 35426bfaa4f701c6d0bcad0375875d195351a7c4
5
5
  SHA512:
6
- metadata.gz: 2ef999a33fa00fb5be313373643e285545a995a4cb3e4b2e5645b6eb626eacebec941c888e38194c415a41b960c21e47ecd5a82a6129834f083da1094444a1ed
7
- data.tar.gz: 6b50448ae6deedfc864da4418c1300820e21aaebccbb98fb46a0e53b20ba20d5bc312b674ffe059f37009e8a3096a5d63f815e48ce8586382fd7a7091cefdf52
6
+ metadata.gz: 644b6eedc3e0170dcf412591db9269611a382aa51696aa8ec46c9a2d70703c2835084ac9f31e24fce1c57c02700b6f80bd4cdc3434c80ca0af33f085b387e153
7
+ data.tar.gz: 03c5bd4403fbe8fbcedff8d21790cf6c013ed5ae0a9ac02387c7581ee2e19bcc212989d0599b4dffe3c4c82adcaf01659bd95c9f494e40ee0c8340295d101f3e
@@ -98,7 +98,7 @@ module Booker
98
98
 
99
99
  def get_location_notification_settings(booker_location_id:)
100
100
  response = get "/location/#{booker_location_id}/notification_settings", build_params
101
- Booker::Models::NotificationSettings.from_hash(response['NotificationSettings'])
101
+ Booker::Models::NotificationSettings.from_hash response['NotificationSettings']
102
102
  end
103
103
 
104
104
  def update_location_notification_settings(booker_location_id:, send_appointment_reminders:)
@@ -108,5 +108,10 @@ module Booker
108
108
  }
109
109
  })
110
110
  end
111
+
112
+ def get_location_feature_settings(booker_location_id:)
113
+ response = get "/location/#{booker_location_id}/feature_settings", build_params
114
+ Booker::Models::FeatureSettings.from_hash response['FeatureSettings']
115
+ end
111
116
  end
112
117
  end
@@ -0,0 +1,7 @@
1
+ module Booker
2
+ module Models
3
+ class FeatureSettings < Model
4
+ attr_accessor 'UseFrederick', 'UsePromote'
5
+ end
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module Booker
2
- VERSION = '1.9.0'
2
+ VERSION = '1.10.0'
3
3
  end
@@ -75,6 +75,7 @@ require 'booker/models/itinerary_time_slot'
75
75
  require 'booker/models/treatment_time_slot'
76
76
  require 'booker/models/multi_service_availability_result'
77
77
  require 'booker/models/notification_settings'
78
+ require 'booker/models/feature_settings'
78
79
 
79
80
  # Base Client
80
81
  require 'booker/client'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: booker_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frederick
@@ -156,6 +156,7 @@ files:
156
156
  - lib/booker/models/discount.rb
157
157
  - lib/booker/models/dynamic_price.rb
158
158
  - lib/booker/models/employee.rb
159
+ - lib/booker/models/feature_settings.rb
159
160
  - lib/booker/models/final_total.rb
160
161
  - lib/booker/models/gender.rb
161
162
  - lib/booker/models/itinerary_time_slot.rb