class RoutesBetweenAirportsExRequest

RoutesBetweenAirportsEx

Attributes

destination[RW]
howMany[RW]
maxDepartureAge[RW]
maxFileAge[RW]
offset[RW]
origin[RW]

Public Class Methods

new(destination = nil, howMany = nil, maxDepartureAge = nil, maxFileAge = nil, offset = nil, origin = nil) click to toggle source
# File lib/FlightXML2REST.rb, line 2101
def initialize(destination = nil, howMany = nil, maxDepartureAge = nil, maxFileAge = nil, offset = nil, origin = nil)
  @destination = destination
  @howMany = howMany
  @maxDepartureAge = maxDepartureAge
  @maxFileAge = maxFileAge
  @offset = offset
  @origin = origin
end

Public Instance Methods

post() click to toggle source
# File lib/FlightXML2REST.rb, line 2109
def post
  "destination=#@destination&howMany=#@howMany&maxDepartureAge=#@maxDepartureAge&maxFileAge=#@maxFileAge&offset=#@offset&origin=#@origin"
end