FlightXML2RESTDriver 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/FlightXML2REST.rb +3 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02ce18c5b35a23663511b9733db570178b11c757
4
- data.tar.gz: 8953202eb8cc76ed2c8d45c6b70699f814f3489a
3
+ metadata.gz: bf845948725e5e33410d2c20ca44d46fc1c32d44
4
+ data.tar.gz: e45ef487983ceb46b51b741165c0876e52fcc523
5
5
  SHA512:
6
- metadata.gz: c72b003b6aca105c4c94e208b0da484e2ec9a227eb605abec5d301164cb83cdc57f33285e449d6275b8193a6bde7fbbdb673c36e1eb2570d6629f1477c639387
7
- data.tar.gz: 873ac879eae7614e1907287d29b5b1e7fcfc5b18d10e9407e1a4780c0fd3a3f699d2b15ee165271a987253c3badb47227ef7f73607f767b91d717400552a1870
6
+ metadata.gz: 8e6815aeab37ce01bdd7f389b4a918b9b6923313a0dd50ca3d1e7c5eae0fdc0143d996325af9dacc0ab4d7012d7429aa29749650f31356762083281650eae019
7
+ data.tar.gz: d3977667ac8101373dc9191285463cba6dee6b5a5be045f23d56802d32dd5049c398efd86d5ee849cc8ba560a560b8762ac59a027dd247e6577552aeee775884
@@ -298,7 +298,7 @@ class AirlineInsightResults
298
298
  )
299
299
  end
300
300
  rescue
301
- raise FlightAwareError.new(rawInboundFlightInfoResult['error']).error
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 = rawInboundFlightInforResult['InboundFlightInfoResult']
1542
+ inboundFlightInfoResult = rawInboundFlightInfoResult['InboundFlightInfoResult']
1542
1543
  @inboundFlightInfoResult = FlightExStruct.new(inboundFlightInfoResult['actualarrivaltime'],
1543
1544
  inboundFlightInfoResult['actualdeparturetime'],
1544
1545
  inboundFlightInfoResult['aircrafttype'],
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.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - auzroz