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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5c3111e8fc5291f11bc4e800764a51c897495ba1
4
- data.tar.gz: 12f62938106228eb4d30600a87504b2575aeb864
3
+ metadata.gz: 16993ced2277018dc91977a7fcc219f48324ca67
4
+ data.tar.gz: 86f34714698ba712e5b37d0370848cbab0f51784
5
5
  SHA512:
6
- metadata.gz: cbaaade7107d7d90d128f0ea7daf2cfd0f1fd0459b536d1a60173c5d7df8b7998b107828287414de281a93f641a63acfc7b7ab29176ea7b6df6dc7a998be959e
7
- data.tar.gz: c29fec4dd718bc44041316876702efafde98ddf435af64310ab64cdea82d5b2f1052662e0380ccf6aa1076a7f0cfd3c0770cec85b2d67775726b51b3ad905b57
6
+ metadata.gz: 5d9e30c1e07e1c8c170d34154b27d3ee6f5f2f3094ccda84b208d19e7677bfc423043ce2ab5f76aef96774a89694e83d066eba6140e6e093f24ff83ecbd44b26
7
+ data.tar.gz: a0f5bd6f35a27a468f233d523692ef569bc6be09367ff6725c237148ce2a9c04a335b09896141683790ad3903b788e1a73db994e94142c37c703d75d718b731e
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Booker
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
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.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - AbeCole