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.
1915 1916 1917 1918 1919 1920 1921 1922 |
# File 'lib/FlightXML2REST.rb', line 1915 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.
1914 1915 1916 |
# File 'lib/FlightXML2REST.rb', line 1914 def destination @destination end |
#howMany ⇒ Object
Returns the value of attribute howMany.
1914 1915 1916 |
# File 'lib/FlightXML2REST.rb', line 1914 def howMany @howMany end |
#maxDepartureAge ⇒ Object
Returns the value of attribute maxDepartureAge.
1914 1915 1916 |
# File 'lib/FlightXML2REST.rb', line 1914 def maxDepartureAge @maxDepartureAge end |
#maxFileAge ⇒ Object
Returns the value of attribute maxFileAge.
1914 1915 1916 |
# File 'lib/FlightXML2REST.rb', line 1914 def maxFileAge @maxFileAge end |
#offset ⇒ Object
Returns the value of attribute offset.
1914 1915 1916 |
# File 'lib/FlightXML2REST.rb', line 1914 def offset @offset end |
#origin ⇒ Object
Returns the value of attribute origin.
1914 1915 1916 |
# File 'lib/FlightXML2REST.rb', line 1914 def origin @origin end |
Instance Method Details
#post ⇒ Object
1923 1924 1925 |
# File 'lib/FlightXML2REST.rb', line 1923 def post "destination=#@destination&howMany=#@howMany&maxDepartureAge=#@maxDepartureAge&maxFileAge=#@maxFileAge&offset=#@offset&origin=#@origin" end |