Class: LatLongsToDistanceResults

Inherits:
Object
  • Object
show all
Defined in:
lib/FlightXML2REST.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(latLongsToDistanceResult = nil) ⇒ LatLongsToDistanceResults

Returns a new instance of LatLongsToDistanceResults.



1576
1577
1578
1579
# File 'lib/FlightXML2REST.rb', line 1576

def initialize(latLongsToDistanceResult = nil)
  latLongsToDistanceResult = JSON.parse(latLongsToDistanceResult)['LatLongsToDistanceResult']
  @latLongsToDistanceResult = latLongsToDistanceResult
end

Instance Attribute Details

#latLongsToDistanceResultObject

Returns the value of attribute latLongsToDistanceResult.



1575
1576
1577
# File 'lib/FlightXML2REST.rb', line 1575

def latLongsToDistanceResult
  @latLongsToDistanceResult
end