class LatLongsToHeadingResults

Attributes

latLongsToHeadingResult[RW]

Public Class Methods

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