class LatLongsToDistanceResults

Attributes

latLongsToDistanceResult[RW]

Public Class Methods

new(latLongsToDistanceResult = nil) click to toggle source
# File lib/FlightXML2REST.rb, line 1717
def initialize(latLongsToDistanceResult = nil)
  begin
    rawLatLongsToDistanceResult = JSON.parse(latLongsToDistanceResult)
    latLongsToDistanceResult = rawLatLongsToDistance['LatLongsToDistanceResult']
    @latLongsToDistanceResult = latLongsToDistanceResult
  rescue
      raise FlightAwareError.new(rawLatLongsToDistanceResult['error']).error
  end
end