Class: AirlineInfoRequest
- Inherits:
-
Object
- Object
- AirlineInfoRequest
- Defined in:
- lib/FlightXML2REST.rb
Overview
AirlineInfoRequest
Instance Attribute Summary collapse
-
#airlineCode ⇒ Object
Returns the value of attribute airlineCode.
Instance Method Summary collapse
-
#initialize(airlineCode = nil) ⇒ AirlineInfoRequest
constructor
A new instance of AirlineInfoRequest.
- #post ⇒ Object
Constructor Details
#initialize(airlineCode = nil) ⇒ AirlineInfoRequest
Returns a new instance of AirlineInfoRequest.
220 221 222 |
# File 'lib/FlightXML2REST.rb', line 220 def initialize(airlineCode = nil) @airlineCode = airlineCode end |
Instance Attribute Details
#airlineCode ⇒ Object
Returns the value of attribute airlineCode.
219 220 221 |
# File 'lib/FlightXML2REST.rb', line 219 def airlineCode @airlineCode end |
Instance Method Details
#post ⇒ Object
223 224 225 |
# File 'lib/FlightXML2REST.rb', line 223 def post "airlineCode=#@airlineCode" end |