Class: LatLongsToDistanceResults
- Inherits:
-
Object
- Object
- LatLongsToDistanceResults
- Defined in:
- lib/FlightXML2REST.rb
Instance Attribute Summary collapse
-
#latLongsToDistanceResult ⇒ Object
Returns the value of attribute latLongsToDistanceResult.
Instance Method Summary collapse
-
#initialize(latLongsToDistanceResult = nil) ⇒ LatLongsToDistanceResults
constructor
A new instance of LatLongsToDistanceResults.
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
#latLongsToDistanceResult ⇒ Object
Returns the value of attribute latLongsToDistanceResult.
1575 1576 1577 |
# File 'lib/FlightXML2REST.rb', line 1575 def latLongsToDistanceResult @latLongsToDistanceResult end |