Class: SearchBirdseyePositionsRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/FlightXML2REST.rb

Overview

SearchBirdseyePositions

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(howMany = nil, offset = nil, query = nil, uniqueFlights = nil) ⇒ SearchBirdseyePositionsRequest

Returns a new instance of SearchBirdseyePositionsRequest.



2356
2357
2358
2359
2360
2361
# File 'lib/FlightXML2REST.rb', line 2356

def initialize(howMany = nil, offset = nil, query = nil, uniqueFlights = nil)
  @howMany = howMany
  @offset = offset
  @query = query
  @uniqueFlights = uniqueFlights
end

Instance Attribute Details

#howManyObject

Returns the value of attribute howMany.



2355
2356
2357
# File 'lib/FlightXML2REST.rb', line 2355

def howMany
  @howMany
end

#offsetObject

Returns the value of attribute offset.



2355
2356
2357
# File 'lib/FlightXML2REST.rb', line 2355

def offset
  @offset
end

#queryObject

Returns the value of attribute query.



2355
2356
2357
# File 'lib/FlightXML2REST.rb', line 2355

def query
  @query
end

#uniqueFlightsObject

Returns the value of attribute uniqueFlights.



2355
2356
2357
# File 'lib/FlightXML2REST.rb', line 2355

def uniqueFlights
  @uniqueFlights
end

Instance Method Details

#postObject



2362
2363
2364
# File 'lib/FlightXML2REST.rb', line 2362

def post
  "howMany=#@howMany&offset=#@offset&query=#@query&uniqueFlights=#@uniqueFlights"
end