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.



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

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.



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

def howMany
  @howMany
end

#offsetObject

Returns the value of attribute offset.



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

def offset
  @offset
end

#queryObject

Returns the value of attribute query.



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

def query
  @query
end

#uniqueFlightsObject

Returns the value of attribute uniqueFlights.



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

def uniqueFlights
  @uniqueFlights
end

Instance Method Details

#postObject



2366
2367
2368
# File 'lib/FlightXML2REST.rb', line 2366

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