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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/FlightXML2REST.rb +4 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf845948725e5e33410d2c20ca44d46fc1c32d44
4
- data.tar.gz: e45ef487983ceb46b51b741165c0876e52fcc523
3
+ metadata.gz: f79e36d2f665f9f181d4088343e14460e508cd97
4
+ data.tar.gz: 39cbaa4106e0fb9229e859ec22206537f2303c25
5
5
  SHA512:
6
- metadata.gz: 8e6815aeab37ce01bdd7f389b4a918b9b6923313a0dd50ca3d1e7c5eae0fdc0143d996325af9dacc0ab4d7012d7429aa29749650f31356762083281650eae019
7
- data.tar.gz: d3977667ac8101373dc9191285463cba6dee6b5a5be045f23d56802d32dd5049c398efd86d5ee849cc8ba560a560b8762ac59a027dd247e6577552aeee775884
6
+ metadata.gz: f0d03a4c1ecf49107cb5e76d13cc6b5a2d538b47c5b5d854227693141f57c5b6e6d648868905d2d6aac674126839998b14f9a51a698711c2334c197ec6ce2a4c
7
+ data.tar.gz: 1c944ee1ac2419d5907cdb6c4a8f9f442b515852406cfccb42852a263551e4006638cd2c7db11011b9e022dd03f1f321623f55db7e78e59c291fdba2aeae257e
@@ -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'],
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: FlightXML2RESTDriver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - auzroz