Class: NTafRequest
- Inherits:
-
Object
- Object
- NTafRequest
- Defined in:
- lib/FlightXML2REST.rb
Overview
NTaf
Instance Attribute Summary collapse
-
#airport ⇒ Object
Returns the value of attribute airport.
Instance Method Summary collapse
-
#initialize(airport = nil) ⇒ NTafRequest
constructor
A new instance of NTafRequest.
- #post ⇒ Object
Constructor Details
#initialize(airport = nil) ⇒ NTafRequest
Returns a new instance of NTafRequest.
1817 1818 1819 |
# File 'lib/FlightXML2REST.rb', line 1817 def initialize(airport = nil) @airport = airport end |
Instance Attribute Details
#airport ⇒ Object
Returns the value of attribute airport.
1816 1817 1818 |
# File 'lib/FlightXML2REST.rb', line 1816 def airport @airport end |
Instance Method Details
#post ⇒ Object
1820 1821 1822 |
# File 'lib/FlightXML2REST.rb', line 1820 def post "airport=#@airport" end |