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