class DecodeRouteRequest

DecodeRoute

Attributes

destination[RW]
origin[RW]
route[RW]

Public Class Methods

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

Public Instance Methods

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