FlightXML2RESTDriver 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/FlightXML2REST.rb +3 -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: bf845948725e5e33410d2c20ca44d46fc1c32d44
|
4
|
+
data.tar.gz: e45ef487983ceb46b51b741165c0876e52fcc523
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e6815aeab37ce01bdd7f389b4a918b9b6923313a0dd50ca3d1e7c5eae0fdc0143d996325af9dacc0ab4d7012d7429aa29749650f31356762083281650eae019
|
7
|
+
data.tar.gz: d3977667ac8101373dc9191285463cba6dee6b5a5be045f23d56802d32dd5049c398efd86d5ee849cc8ba560a560b8762ac59a027dd247e6577552aeee775884
|
data/lib/FlightXML2REST.rb
CHANGED
@@ -298,7 +298,7 @@ class AirlineInsightResults
|
|
298
298
|
)
|
299
299
|
end
|
300
300
|
rescue
|
301
|
-
raise FlightAwareError.new(
|
301
|
+
raise FlightAwareError.new(rawAirlineInsightResult['error']).error
|
302
302
|
end
|
303
303
|
end
|
304
304
|
end
|
@@ -1537,8 +1537,9 @@ class InboundFlightInfoResults
|
|
1537
1537
|
attr_accessor :inboundFlightInfoResult
|
1538
1538
|
def initialize(inboundFlightInfoResult = nil)
|
1539
1539
|
begin
|
1540
|
+
pp inboundFlightInfoResult
|
1540
1541
|
rawInboundFlightInfoResult = JSON.parse(inboundFlightInfoResult)
|
1541
|
-
inboundFlightInfoResult =
|
1542
|
+
inboundFlightInfoResult = rawInboundFlightInfoResult['InboundFlightInfoResult']
|
1542
1543
|
@inboundFlightInfoResult = FlightExStruct.new(inboundFlightInfoResult['actualarrivaltime'],
|
1543
1544
|
inboundFlightInfoResult['actualdeparturetime'],
|
1544
1545
|
inboundFlightInfoResult['aircrafttype'],
|