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.
2544 2545 2546 |
# File 'lib/FlightXML2REST.rb', line 2544 def initialize(airport = nil) @airport = airport end |
Instance Attribute Details
#airport ⇒ Object
Returns the value of attribute airport.
2543 2544 2545 |
# File 'lib/FlightXML2REST.rb', line 2543 def airport @airport end |
Instance Method Details
#post ⇒ Object
2547 2548 2549 |
# File 'lib/FlightXML2REST.rb', line 2547 def post "airport=#@airport" end |