Class: AirportInfoRequest
- Inherits:
-
Object
- Object
- AirportInfoRequest
- Defined in:
- lib/FlightXML2REST.rb
Overview
AirportInfo
Instance Attribute Summary collapse
-
#airportCode ⇒ Object
Returns the value of attribute airportCode.
Instance Method Summary collapse
-
#initialize(airportCode = nil) ⇒ AirportInfoRequest
constructor
A new instance of AirportInfoRequest.
- #post ⇒ Object
Constructor Details
#initialize(airportCode = nil) ⇒ AirportInfoRequest
Returns a new instance of AirportInfoRequest.
369 370 371 |
# File 'lib/FlightXML2REST.rb', line 369 def initialize(airportCode = nil) @airportCode = airportCode end |
Instance Attribute Details
#airportCode ⇒ Object
Returns the value of attribute airportCode.
368 369 370 |
# File 'lib/FlightXML2REST.rb', line 368 def airportCode @airportCode end |
Instance Method Details
#post ⇒ Object
372 373 374 |
# File 'lib/FlightXML2REST.rb', line 372 def post "airportCode=#@airportCode" end |