Class: TafRequest
- Inherits:
-
Object
- Object
- TafRequest
- Defined in:
- lib/FlightXML2REST.rb
Overview
Taf
Instance Attribute Summary collapse
-
#airport ⇒ Object
Returns the value of attribute airport.
Instance Method Summary collapse
-
#initialize(airport = nil) ⇒ TafRequest
constructor
A new instance of TafRequest.
- #post ⇒ Object
Constructor Details
#initialize(airport = nil) ⇒ TafRequest
Returns a new instance of TafRequest.
2547 2548 2549 |
# File 'lib/FlightXML2REST.rb', line 2547 def initialize(airport = nil) @airport = airport end |
Instance Attribute Details
#airport ⇒ Object
Returns the value of attribute airport.
2546 2547 2548 |
# File 'lib/FlightXML2REST.rb', line 2546 def airport @airport end |
Instance Method Details
#post ⇒ Object
2550 2551 2552 |
# File 'lib/FlightXML2REST.rb', line 2550 def post "airport=#@airport" end |