zaui_zapi 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/version.rb +1 -1
  3. data/lib/zaui.rb +2 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf52a7d1d0927922ebcef3f316195d5c3ad29d8d
4
- data.tar.gz: 00e858cfd9388aa55cfc4a2682ae41c751b247ee
3
+ metadata.gz: 3007dd51974f56669dd8433a722b35ad3a4b1555
4
+ data.tar.gz: 39b06d54701f3c19cb1f179612842f1eca6a5f7f
5
5
  SHA512:
6
- metadata.gz: 962fdaf7721017e57cc04f5d954819a0063c0499bb43194c50ce95fad20c639f0b73653630313c18908faf842ff27ceb8a1050ccb8b810a9735bfd01a98f6973
7
- data.tar.gz: 6a43d3383d62cba66f57170e7f693f0cac5dbc3e93e2eff9474a54d915526ca0d979072b9359d70aafad75b7ae56dbd691bd7c19a8e5585cb5f4ecbd741f4c90
6
+ metadata.gz: d9e2bd3d5a40f9d4c68c16460cb45583cd24324214bbda69d39e2700e7d6f22bfd0fdc371b7f4e802dfe79859a97583243b386bf405702009e0f621675527cf0
7
+ data.tar.gz: 0618d06ccc2a2a94b25ddc6ba3cdb9f75fda79d60bd80f54a8e77ff6c798b9c40d92f6a8a4cb3a60efb11f1f819f057f430e3cc018f71f4fbb83ee0a613e6715
data/lib/version.rb CHANGED
@@ -1 +1 @@
1
- VERSION = '0.1.6'
1
+ VERSION = '0.1.7'
data/lib/zaui.rb CHANGED
@@ -20,14 +20,14 @@ class Zaui
20
20
  raw = _zapi(xml.get_activity_details_by_activity_id(id)).try(:[],'activity')
21
21
  end
22
22
 
23
- def add_activity_to_cart id:, date:, passengers: {adults: 0, children: 0, infants: 0}, location_id: nil
23
+ def add_activity_to_cart id:, date:, passengers: {adults: 0, children: 0, infants: 0}, pickup_location_id: nil
24
24
  hash = {
25
25
  activity_id: id,
26
26
  activity_date: date,
27
27
  adults: passengers[:adults],
28
28
  children: passengers[:children],
29
29
  infants: passengers[:infants],
30
- pickup_location_id: location_id
30
+ pickup_location_id: pickup_location_id
31
31
  }
32
32
 
33
33
  raw = _zapi(xml.add_activity_to_cart(hash: hash))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zaui_zapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane Kretzmann