class MapFlightExResults

Attributes

mapFlightExResult[RW]

Public Class Methods

new(mapFlightExResult = nil) click to toggle source
# File lib/FlightXML2REST.rb, line 1837
def initialize(mapFlightExResult = nil)
  begin
    rawMapFlightExResult = JSON.parse(mapFlightExResult)
    mapFlightExResult = rawMapFlightExResult['MapFlightExResult']
    @mapFlightExResult = mapFlightExResult
  rescue
      raise FlightAwareError.new(rawMapFlightExResult['error']).error
  end
end