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.
- checksums.yaml +4 -4
- data/lib/version.rb +1 -1
- data/lib/zaui.rb +2 -2
- 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: 3007dd51974f56669dd8433a722b35ad3a4b1555
|
4
|
+
data.tar.gz: 39b06d54701f3c19cb1f179612842f1eca6a5f7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9e2bd3d5a40f9d4c68c16460cb45583cd24324214bbda69d39e2700e7d6f22bfd0fdc371b7f4e802dfe79859a97583243b386bf405702009e0f621675527cf0
|
7
|
+
data.tar.gz: 0618d06ccc2a2a94b25ddc6ba3cdb9f75fda79d60bd80f54a8e77ff6c798b9c40d92f6a8a4cb3a60efb11f1f819f057f430e3cc018f71f4fbb83ee0a613e6715
|
data/lib/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
VERSION = '0.1.
|
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},
|
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:
|
30
|
+
pickup_location_id: pickup_location_id
|
31
31
|
}
|
32
32
|
|
33
33
|
raw = _zapi(xml.add_activity_to_cart(hash: hash))
|