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.
2101 2102 2103 2104 2105 2106 2107 2108 |
# File 'lib/FlightXML2REST.rb', line 2101 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.
2100 2101 2102 |
# File 'lib/FlightXML2REST.rb', line 2100 def destination @destination end |
#howMany ⇒ Object
Returns the value of attribute howMany.
2100 2101 2102 |
# File 'lib/FlightXML2REST.rb', line 2100 def howMany @howMany end |
#maxDepartureAge ⇒ Object
Returns the value of attribute maxDepartureAge.
2100 2101 2102 |
# File 'lib/FlightXML2REST.rb', line 2100 def maxDepartureAge @maxDepartureAge end |
#maxFileAge ⇒ Object
Returns the value of attribute maxFileAge.
2100 2101 2102 |
# File 'lib/FlightXML2REST.rb', line 2100 def maxFileAge @maxFileAge end |
#offset ⇒ Object
Returns the value of attribute offset.
2100 2101 2102 |
# File 'lib/FlightXML2REST.rb', line 2100 def offset @offset end |
#origin ⇒ Object
Returns the value of attribute origin.
2100 2101 2102 |
# File 'lib/FlightXML2REST.rb', line 2100 def origin @origin end |
Instance Method Details
#post ⇒ Object
2109 2110 2111 |
# File 'lib/FlightXML2REST.rb', line 2109 def post "destination=#@destination&howMany=#@howMany&maxDepartureAge=#@maxDepartureAge&maxFileAge=#@maxFileAge&offset=#@offset&origin=#@origin" end |