FlightXML2RESTDriver 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/FlightXML2REST.rb +4 -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: f79e36d2f665f9f181d4088343e14460e508cd97
|
4
|
+
data.tar.gz: 39cbaa4106e0fb9229e859ec22206537f2303c25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0d03a4c1ecf49107cb5e76d13cc6b5a2d538b47c5b5d854227693141f57c5b6e6d648868905d2d6aac674126839998b14f9a51a698711c2334c197ec6ce2a4c
|
7
|
+
data.tar.gz: 1c944ee1ac2419d5907cdb6c4a8f9f442b515852406cfccb42852a263551e4006638cd2c7db11011b9e022dd03f1f321623f55db7e78e59c291fdba2aeae257e
|
data/lib/FlightXML2REST.rb
CHANGED
@@ -1401,10 +1401,14 @@ class GetFlightIDResults
|
|
1401
1401
|
attr_accessor :getFlightIDResult
|
1402
1402
|
def initialize(getFlightIDResult = nil)
|
1403
1403
|
begin
|
1404
|
+
puts getFlightIDResult
|
1404
1405
|
rawGetFlightIDResult = JSON.parse(getFlightIDResult)
|
1406
|
+
puts rawGetFlightIDResult
|
1405
1407
|
getFlightIDResult = rawGetFlightIDResult['GetFlightIDResult']
|
1406
1408
|
@getFlightIDResult = getFlightIDResult
|
1407
1409
|
rescue
|
1410
|
+
puts "There was an error"
|
1411
|
+
puts rawGetFlightIDResult['error']
|
1408
1412
|
raise FlightAwareError.new(rawGetFlightIDResult['error']).error
|
1409
1413
|
end
|
1410
1414
|
end
|
@@ -1537,7 +1541,6 @@ class InboundFlightInfoResults
|
|
1537
1541
|
attr_accessor :inboundFlightInfoResult
|
1538
1542
|
def initialize(inboundFlightInfoResult = nil)
|
1539
1543
|
begin
|
1540
|
-
pp inboundFlightInfoResult
|
1541
1544
|
rawInboundFlightInfoResult = JSON.parse(inboundFlightInfoResult)
|
1542
1545
|
inboundFlightInfoResult = rawInboundFlightInfoResult['InboundFlightInfoResult']
|
1543
1546
|
@inboundFlightInfoResult = FlightExStruct.new(inboundFlightInfoResult['actualarrivaltime'],
|