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 +4 -4
- data/lib/booker/business_rest.rb +6 -1
- data/lib/booker/models/feature_settings.rb +7 -0
- data/lib/booker/version.rb +1 -1
- data/lib/booker_ruby.rb +1 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87ff013355e30096191c7a94bea5c87b9f637851
|
4
|
+
data.tar.gz: 35426bfaa4f701c6d0bcad0375875d195351a7c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 644b6eedc3e0170dcf412591db9269611a382aa51696aa8ec46c9a2d70703c2835084ac9f31e24fce1c57c02700b6f80bd4cdc3434c80ca0af33f085b387e153
|
7
|
+
data.tar.gz: 03c5bd4403fbe8fbcedff8d21790cf6c013ed5ae0a9ac02387c7581ee2e19bcc212989d0599b4dffe3c4c82adcaf01659bd95c9f494e40ee0c8340295d101f3e
|
data/lib/booker/business_rest.rb
CHANGED
@@ -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
|
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
|
data/lib/booker/version.rb
CHANGED
data/lib/booker_ruby.rb
CHANGED
@@ -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.
|
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
|