Class: SearchBirdseyePositionsRequest
- Inherits:
-
Object
- Object
- SearchBirdseyePositionsRequest
- Defined in:
- lib/FlightXML2REST.rb
Overview
SearchBirdseyePositions
Instance Attribute Summary collapse
-
#howMany ⇒ Object
Returns the value of attribute howMany.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#query ⇒ Object
Returns the value of attribute query.
-
#uniqueFlights ⇒ Object
Returns the value of attribute uniqueFlights.
Instance Method Summary collapse
-
#initialize(howMany = nil, offset = nil, query = nil, uniqueFlights = nil) ⇒ SearchBirdseyePositionsRequest
constructor
A new instance of SearchBirdseyePositionsRequest.
- #post ⇒ Object
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
#howMany ⇒ Object
Returns the value of attribute howMany.
2355 2356 2357 |
# File 'lib/FlightXML2REST.rb', line 2355 def howMany @howMany end |
#offset ⇒ Object
Returns the value of attribute offset.
2355 2356 2357 |
# File 'lib/FlightXML2REST.rb', line 2355 def offset @offset end |
#query ⇒ Object
Returns the value of attribute query.
2355 2356 2357 |
# File 'lib/FlightXML2REST.rb', line 2355 def query @query end |
#uniqueFlights ⇒ Object
Returns the value of attribute uniqueFlights.
2355 2356 2357 |
# File 'lib/FlightXML2REST.rb', line 2355 def uniqueFlights @uniqueFlights end |
Instance Method Details
#post ⇒ Object
2362 2363 2364 |
# File 'lib/FlightXML2REST.rb', line 2362 def post "howMany=#@howMany&offset=#@offset&query=#@query&uniqueFlights=#@uniqueFlights" end |