Class: SearchBirdseyeInFlightRequest

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

Overview

SearchBirdseyeInFlight

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(howMany = nil, offset = nil, query = nil) ⇒ SearchBirdseyeInFlightRequest

Returns a new instance of SearchBirdseyeInFlightRequest.



2307
2308
2309
2310
2311
# File 'lib/FlightXML2REST.rb', line 2307

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

Instance Attribute Details

#howManyObject

Returns the value of attribute howMany.



2306
2307
2308
# File 'lib/FlightXML2REST.rb', line 2306

def howMany
  @howMany
end

#offsetObject

Returns the value of attribute offset.



2306
2307
2308
# File 'lib/FlightXML2REST.rb', line 2306

def offset
  @offset
end

#queryObject

Returns the value of attribute query.



2306
2307
2308
# File 'lib/FlightXML2REST.rb', line 2306

def query
  @query
end

Instance Method Details

#postObject



2312
2313
2314
# File 'lib/FlightXML2REST.rb', line 2312

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