class AirlineFlightSchedulesRequest

AirlineFlightSchedule

Attributes

airline[RW]
destination[RW]
endDate[RW]
flightno[RW]
howMany[RW]
offset[RW]
origin[RW]
startDate[RW]

Public Class Methods

new(airline = nil, destination = nil, endDate = nil, flightno = nil, howMany = nil, offset = nil, origin = nil, startDate = nil) click to toggle source
# File lib/FlightXML2REST.rb, line 127
def initialize(airline = nil, destination = nil, endDate = nil, flightno = nil, howMany = nil, offset = nil, origin = nil, startDate = nil)
  @airline = airline
  @destination = destination
  @endDate = endDate
  @flightno = flightno
  @howMany = howMany
  @offset = offset
  @origin = origin
  @startDate = startDate
end

Public Instance Methods

post() click to toggle source
# File lib/FlightXML2REST.rb, line 137
def post
  "airline=#@airline&destination=#@destination&endDate=#@endDate&flightno=#@flightno&howMany=#@howMany&offset=#@offset&origin=#@origin&startDate=#@startDate"
end