booker_api 0.0.7 → 0.0.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 79c60e011272d8a41a294315cf3129d2f53abb2e
4
- data.tar.gz: e55658eb80d3ba58eb204c5cccef480216f1730c
3
+ metadata.gz: 5fc4db03b2920e41b54a143307608ba1085ed85b
4
+ data.tar.gz: 71bf445fa52729e89d692752f8162c91f520287f
5
5
  SHA512:
6
- metadata.gz: ffadfe1db20cf1ebb84fa40737357ff51638f20203d9f56a80193aab8f2e2c8421118887f00fccf0cb75d3e3bafd6ac0d156460e79b42e26067e41a5aa996a4c
7
- data.tar.gz: 6c2091ae0f99f4f4fafe987a3834ac8b5715904ee534a97402261e0113b0a81cb15a26fd64011dc6dfda4a9f777d01140b653e56335245a22e4e4359676e0498
6
+ metadata.gz: 60140ee3dbc228d21a765ee551578276f4719f8d25232daad98bb02b7c38f06099eeaf02b980297ffe04633de444ddafdf4dfc8b80ced6773119971bcb0dc6d8
7
+ data.tar.gz: cfb6ccc1816a762fa6f85fe252ab8079d94cf515423be785bc23c7528ac74990ad73afa72f70c48bf8f1a085a07a3bbeb639226e63f92c1130c1393924596db6
@@ -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
- }, options)
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 = {})
@@ -1,3 +1,3 @@
1
1
  module Booker
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: booker_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - AbeCole