Class: TafResults
- Inherits:
-
Object
- Object
- TafResults
- Defined in:
- lib/FlightXML2REST.rb
Instance Attribute Summary collapse
-
#tafResult ⇒ Object
Returns the value of attribute tafResult.
Instance Method Summary collapse
-
#initialize(tafResult = nil) ⇒ TafResults
constructor
A new instance of TafResults.
Constructor Details
#initialize(tafResult = nil) ⇒ TafResults
Returns a new instance of TafResults.
2331 2332 2333 2334 |
# File 'lib/FlightXML2REST.rb', line 2331 def initialize(tafResult = nil) tafResult = JSON.parse(tafResult)['TafResult'] @tafResult = tafResult end |
Instance Attribute Details
#tafResult ⇒ Object
Returns the value of attribute tafResult.
2330 2331 2332 |
# File 'lib/FlightXML2REST.rb', line 2330 def tafResult @tafResult end |