Class: AirlineInfoRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/FlightXML2REST.rb

Overview

AirlineInfoRequest

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#airlineCodeObject

Returns the value of attribute airlineCode.



219
220
221
# File 'lib/FlightXML2REST.rb', line 219

def airlineCode
  @airlineCode
end

Instance Method Details

#postObject



223
224
225
# File 'lib/FlightXML2REST.rb', line 223

def post
  "airlineCode=#@airlineCode"
end