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.
1984 1985 1986 |
# File 'lib/FlightXML2REST.rb', line 1984 def initialize(airport = nil) @airport = airport end |
Instance Attribute Details
#airport ⇒ Object
Returns the value of attribute airport.
1983 1984 1985 |
# File 'lib/FlightXML2REST.rb', line 1983 def airport @airport end |
Instance Method Details
#post ⇒ Object
1987 1988 1989 |
# File 'lib/FlightXML2REST.rb', line 1987 def post "airport=#@airport" end |