booker_api 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/booker/customer_rest.rb +3 -2
- data/lib/booker/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16993ced2277018dc91977a7fcc219f48324ca67
|
4
|
+
data.tar.gz: 86f34714698ba712e5b37d0370848cbab0f51784
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d9e30c1e07e1c8c170d34154b27d3ee6f5f2f3094ccda84b208d19e7677bfc423043ce2ab5f76aef96774a89694e83d066eba6140e6e093f24ff83ecbd44b26
|
7
|
+
data.tar.gz: a0f5bd6f35a27a468f233d523692ef569bc6be09367ff6725c237148ce2a9c04a335b09896141683790ad3903b788e1a73db994e94142c37c703d75d718b731e
|
data/lib/booker/customer_rest.rb
CHANGED
@@ -166,9 +166,10 @@ module Booker
|
|
166
166
|
}, options)
|
167
167
|
end
|
168
168
|
|
169
|
-
def get_special_by_code(booker_location_id, coupon_code, options: {})
|
169
|
+
def get_special_by_code(booker_location_id, coupon_code, validate = false, options: {})
|
170
170
|
get "/special/location/#{booker_location_id}", build_params({
|
171
|
-
'CouponCode' => coupon_code
|
171
|
+
'CouponCode' => coupon_code,
|
172
|
+
'ValidateSpecial' => validate
|
172
173
|
}, options)
|
173
174
|
end
|
174
175
|
end
|
data/lib/booker/version.rb
CHANGED