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