zaui_zapi 0.2.5 → 0.2.6
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 +1 -1
- 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: af4832406e092796d715fbb903b178d09f738f98
|
4
|
+
data.tar.gz: 40ebeada889e0bacd01730b4277335edd54865b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca2ece8809b338078480abf7b2d98c5e680be867ff0bd6893875be4931eb61cdacb419990b46b293e366b0395e943a9f1d41ec81a772c48860a2deed5510c9cd
|
7
|
+
data.tar.gz: 1528ef40c13d24c036f339520c06b6961bb35dd514057f98f4aa3e267e178836557337ee7fbc19c9448077eef53a10d293e16e04b3eb91519d2181b5fd358aa6
|
data/lib/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
VERSION = '0.2.
|
1
|
+
VERSION = '0.2.6'
|
data/lib/zaui.rb
CHANGED
@@ -44,7 +44,7 @@ class Zaui
|
|
44
44
|
raw = _zapi(xml.get_activity_details_by_activity_id(id, date: date)).try(:[],'activity')
|
45
45
|
end
|
46
46
|
|
47
|
-
def add_activity_to_cart id:, date:, end_date
|
47
|
+
def add_activity_to_cart id:, date:, end_date: nil, passengers: {adults: 0, children: 0, infants: 0}, pickup_location_id: nil, rental: {start_time: nil, end_time: nil}
|
48
48
|
hash = {
|
49
49
|
activity_id: id,
|
50
50
|
activity_date: date,
|