zaui_zapi 0.1.12 → 0.1.13
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/zapi_xml.rb +7 -0
- data/lib/zaui.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7645b76bb463693f509c52faaf1a847cd1eb766
|
4
|
+
data.tar.gz: a93cef49be6da873b7d2606dfedbe35c9c35467b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7da92facf1ad72a363c6266bff93305577d2834ba6db8f43125acf3843e358fcac2969036203bad5b1c51e21dd9c0ebf0d1c75d85468677f1f746e1fbfa65867
|
7
|
+
data.tar.gz: e0ac6a56d3ac7af7e07fbba79267f70c8a294a79f8d4eac80b53c6ca0ef8340b92034389bbfe04691a1ab9d3b41060e801dc9f1ecb24bbf022aca1aafcad5ad9
|
data/lib/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
VERSION = '0.1.
|
1
|
+
VERSION = '0.1.13'
|
data/lib/zapi_xml.rb
CHANGED
@@ -309,6 +309,13 @@ class ZapiXML
|
|
309
309
|
})
|
310
310
|
end
|
311
311
|
|
312
|
+
def email_booking_itinerary booking_number:
|
313
|
+
_wrap_xml_request({
|
314
|
+
"methodName" => "zapiEmailBookingItinerary",
|
315
|
+
"bookingNumber" => booking_number
|
316
|
+
})
|
317
|
+
end
|
318
|
+
|
312
319
|
def load_booking_into_cart booking_number:
|
313
320
|
_wrap_xml_request({
|
314
321
|
"methodName" => "zapiLoadBookingIntoCart",
|
data/lib/zaui.rb
CHANGED
@@ -83,6 +83,10 @@ class Zaui
|
|
83
83
|
raw = _zapi(xml.process_single_transaction(hash: cart_data))
|
84
84
|
end
|
85
85
|
|
86
|
+
def email_booking_itinerary booking_number:
|
87
|
+
raw = _zapi(xml.email_booking_itinerary(booking_number: booking_number))
|
88
|
+
end
|
89
|
+
|
86
90
|
def load_booking_into_cart booking_number:
|
87
91
|
raw = _zapi(xml.load_booking_into_cart(booking_number: booking_number))
|
88
92
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zaui_zapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shane Kretzmann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|