Class: RoutesBetweenAirportsExRequest
- Inherits:
-
Object
- Object
- RoutesBetweenAirportsExRequest
- Defined in:
- lib/FlightXML2REST.rb
Overview
RoutesBetweenAirportsEx
Instance Attribute Summary collapse
-
#destination ⇒ Object
Returns the value of attribute destination.
-
#howMany ⇒ Object
Returns the value of attribute howMany.
-
#maxDepartureAge ⇒ Object
Returns the value of attribute maxDepartureAge.
-
#maxFileAge ⇒ Object
Returns the value of attribute maxFileAge.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#origin ⇒ Object
Returns the value of attribute origin.
Instance Method Summary collapse
-
#initialize(destination = nil, howMany = nil, maxDepartureAge = nil, maxFileAge = nil, offset = nil, origin = nil) ⇒ RoutesBetweenAirportsExRequest
constructor
A new instance of RoutesBetweenAirportsExRequest.
- #post ⇒ Object
Constructor Details
#initialize(destination = nil, howMany = nil, maxDepartureAge = nil, maxFileAge = nil, offset = nil, origin = nil) ⇒ RoutesBetweenAirportsExRequest
Returns a new instance of RoutesBetweenAirportsExRequest.
2097 2098 2099 2100 2101 2102 2103 2104 |
# File 'lib/FlightXML2REST.rb', line 2097 def initialize(destination = nil, howMany = nil, maxDepartureAge = nil, maxFileAge = nil, offset = nil, origin = nil) @destination = destination @howMany = howMany @maxDepartureAge = maxDepartureAge @maxFileAge = maxFileAge @offset = offset @origin = origin end |
Instance Attribute Details
#destination ⇒ Object
Returns the value of attribute destination.
2096 2097 2098 |
# File 'lib/FlightXML2REST.rb', line 2096 def destination @destination end |
#howMany ⇒ Object
Returns the value of attribute howMany.
2096 2097 2098 |
# File 'lib/FlightXML2REST.rb', line 2096 def howMany @howMany end |
#maxDepartureAge ⇒ Object
Returns the value of attribute maxDepartureAge.
2096 2097 2098 |
# File 'lib/FlightXML2REST.rb', line 2096 def maxDepartureAge @maxDepartureAge end |
#maxFileAge ⇒ Object
Returns the value of attribute maxFileAge.
2096 2097 2098 |
# File 'lib/FlightXML2REST.rb', line 2096 def maxFileAge @maxFileAge end |
#offset ⇒ Object
Returns the value of attribute offset.
2096 2097 2098 |
# File 'lib/FlightXML2REST.rb', line 2096 def offset @offset end |
#origin ⇒ Object
Returns the value of attribute origin.
2096 2097 2098 |
# File 'lib/FlightXML2REST.rb', line 2096 def origin @origin end |
Instance Method Details
#post ⇒ Object
2105 2106 2107 |
# File 'lib/FlightXML2REST.rb', line 2105 def post "destination=#@destination&howMany=#@howMany&maxDepartureAge=#@maxDepartureAge&maxFileAge=#@maxFileAge&offset=#@offset&origin=#@origin" end |