booker_api 0.0.3 → 0.0.4

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: 0a7571ce786a5a599eda8fa97616928df129182c
4
- data.tar.gz: 2d6267b00b370761f64258be19ede60a2d4f5867
3
+ metadata.gz: 5c3111e8fc5291f11bc4e800764a51c897495ba1
4
+ data.tar.gz: 12f62938106228eb4d30600a87504b2575aeb864
5
5
  SHA512:
6
- metadata.gz: 28e01d9c1f4fb60bfe0a3e53056b17999731fa3f780e9cf8d7ff1087493857bd7b7f432673e3ce89a3bf4207418aaac0f8f15b5a016dd79d3d2ee6c9e2a894ce
7
- data.tar.gz: 4f9b48ec5882305705743d4b4f4407820bc540b8121bb72f56aee7085735fa4792000371f4082c416d02fa247507f42164e29a04c41a1b80de9240a8700fa427
6
+ metadata.gz: cbaaade7107d7d90d128f0ea7daf2cfd0f1fd0459b536d1a60173c5d7df8b7998b107828287414de281a93f641a63acfc7b7ab29176ea7b6df6dc7a998be959e
7
+ data.tar.gz: c29fec4dd718bc44041316876702efafde98ddf435af64310ab64cdea82d5b2f1052662e0380ccf6aa1076a7f0cfd3c0770cec85b2d67775726b51b3ad905b57
@@ -165,5 +165,11 @@ module Booker
165
165
  'Password' => password
166
166
  }, options)
167
167
  end
168
+
169
+ def get_special_by_code(booker_location_id, coupon_code, options: {})
170
+ get "/special/location/#{booker_location_id}", build_params({
171
+ 'CouponCode' => coupon_code
172
+ }, options)
173
+ end
168
174
  end
169
175
  end
@@ -1,3 +1,3 @@
1
1
  module Booker
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: booker_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - AbeCole
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-18 00:00:00.000000000 Z
11
+ date: 2016-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty