class RoutesBetweenAirportsRequest

RoutesBetweenAirports

Attributes

destination[RW]
origin[RW]

Public Class Methods

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

Public Instance Methods

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