booker_api 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/booker/customer_rest.rb +4 -3
- 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: 5fc4db03b2920e41b54a143307608ba1085ed85b
|
4
|
+
data.tar.gz: 71bf445fa52729e89d692752f8162c91f520287f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60140ee3dbc228d21a765ee551578276f4719f8d25232daad98bb02b7c38f06099eeaf02b980297ffe04633de444ddafdf4dfc8b80ced6773119971bcb0dc6d8
|
7
|
+
data.tar.gz: cfb6ccc1816a762fa6f85fe252ab8079d94cf515423be785bc23c7528ac74990ad73afa72f70c48bf8f1a085a07a3bbeb639226e63f92c1130c1393924596db6
|
data/lib/booker/customer_rest.rb
CHANGED
@@ -51,12 +51,13 @@ module Booker
|
|
51
51
|
}, options), Booker::Models::Appointment
|
52
52
|
end
|
53
53
|
|
54
|
-
def calculate_appointment_cost(booker_location_id, appointment_id, coupon_code, options = {})
|
54
|
+
def calculate_appointment_cost(booker_location_id, appointment_id, appointment_date, coupon_code, options = {})
|
55
55
|
post '/appointment/prebooking/totalcost', build_params({
|
56
56
|
'LocationID' => booker_location_id,
|
57
57
|
'AppointmentID' => appointment_id,
|
58
|
-
'CouponCode' => coupon_code
|
59
|
-
|
58
|
+
'CouponCode' => coupon_code,
|
59
|
+
'AppointmentDate' => appointment_date
|
60
|
+
}, options)
|
60
61
|
end
|
61
62
|
|
62
63
|
def run_multi_spa_multi_sub_category_availability(booker_location_ids, treatment_sub_category_ids, start_date_time, end_date_time, options = {})
|
data/lib/booker/version.rb
CHANGED