class AirlineInsightRequest

AirlineInsight

Attributes

destination[RW]
origin[RW]
reportType[RW]

Public Class Methods

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

Public Instance Methods

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