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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e12d2e2dea11b7c97a217541a1b3e6ee646afb2b
4
- data.tar.gz: 44078c56ec66f3f2d1cb4cc6feb36c7943654956
3
+ metadata.gz: b7645b76bb463693f509c52faaf1a847cd1eb766
4
+ data.tar.gz: a93cef49be6da873b7d2606dfedbe35c9c35467b
5
5
  SHA512:
6
- metadata.gz: 73e2c7503255cc08ddd219c72b84c58de00430f4b0d2841640a29d6c1bbb8844e6e529725d55a13848940b406d637066143a7250c9e74c4395069aff82fff693
7
- data.tar.gz: 40f7cd519813f77daf6860d8a7c5841169b7f473a7690b19cf85015c66d966607cdef1444deba63db0b11a1a193767d7f1c5e1d4b734a9baf288832427ab847e
6
+ metadata.gz: 7da92facf1ad72a363c6266bff93305577d2834ba6db8f43125acf3843e358fcac2969036203bad5b1c51e21dd9c0ebf0d1c75d85468677f1f746e1fbfa65867
7
+ data.tar.gz: e0ac6a56d3ac7af7e07fbba79267f70c8a294a79f8d4eac80b53c6ca0ef8340b92034389bbfe04691a1ab9d3b41060e801dc9f1ecb24bbf022aca1aafcad5ad9
data/lib/version.rb CHANGED
@@ -1 +1 @@
1
- VERSION = '0.1.12'
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.12
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-13 00:00:00.000000000 Z
11
+ date: 2015-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest