Class: AirlineFlightInfoRequest

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

Overview

AirlineFlightInfo

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(faFlightID = nil) ⇒ AirlineFlightInfoRequest

Returns a new instance of AirlineFlightInfoRequest.



45
46
47
# File 'lib/FlightXML2REST.rb', line 45

def initialize(faFlightID = nil)
  @faFlightID = faFlightID
end

Instance Attribute Details

#faFlightIDObject

Returns the value of attribute faFlightID.



44
45
46
# File 'lib/FlightXML2REST.rb', line 44

def faFlightID
  @faFlightID
end

Instance Method Details

#postObject



48
49
50
# File 'lib/FlightXML2REST.rb', line 48

def post
  "faFlightID=#@faFlightID"
end