Class: MapFlightResults
- Inherits:
-
Object
- Object
- MapFlightResults
- Defined in:
- lib/FlightXML2REST.rb
Instance Attribute Summary collapse
-
#mapFlightResult ⇒ Object
Returns the value of attribute mapFlightResult.
Instance Method Summary collapse
-
#initialize(mapFlightResult = nil) ⇒ MapFlightResults
constructor
A new instance of MapFlightResults.
Constructor Details
#initialize(mapFlightResult = nil) ⇒ MapFlightResults
Returns a new instance of MapFlightResults.
1621 1622 1623 1624 |
# File 'lib/FlightXML2REST.rb', line 1621 def initialize(mapFlightResult = nil) mapFlightResult = JSON.parse(mapFlightResult)['MapFlightResult'] @mapFlightResult = mapFlightResult end |
Instance Attribute Details
#mapFlightResult ⇒ Object
Returns the value of attribute mapFlightResult.
1620 1621 1622 |
# File 'lib/FlightXML2REST.rb', line 1620 def mapFlightResult @mapFlightResult end |