Class: FleetArrivedRequest
- Inherits:
-
Object
- Object
- FleetArrivedRequest
- Defined in:
- lib/FlightXML2REST.rb
Overview
FleetArrived
Instance Attribute Summary collapse
-
#fleet ⇒ Object
Returns the value of attribute fleet.
-
#howMany ⇒ Object
Returns the value of attribute howMany.
-
#offset ⇒ Object
Returns the value of attribute offset.
Instance Method Summary collapse
-
#initialize(fleet = nil, howMany = nil, offset = nil) ⇒ FleetArrivedRequest
constructor
A new instance of FleetArrivedRequest.
- #post ⇒ Object
Constructor Details
#initialize(fleet = nil, howMany = nil, offset = nil) ⇒ FleetArrivedRequest
Returns a new instance of FleetArrivedRequest.
900 901 902 903 904 |
# File 'lib/FlightXML2REST.rb', line 900 def initialize(fleet = nil, howMany = nil, offset = nil) @fleet = fleet @howMany = howMany @offset = offset end |
Instance Attribute Details
#fleet ⇒ Object
Returns the value of attribute fleet.
899 900 901 |
# File 'lib/FlightXML2REST.rb', line 899 def fleet @fleet end |
#howMany ⇒ Object
Returns the value of attribute howMany.
899 900 901 |
# File 'lib/FlightXML2REST.rb', line 899 def howMany @howMany end |
#offset ⇒ Object
Returns the value of attribute offset.
899 900 901 |
# File 'lib/FlightXML2REST.rb', line 899 def offset @offset end |
Instance Method Details
#post ⇒ Object
905 906 907 |
# File 'lib/FlightXML2REST.rb', line 905 def post "fleet=#@fleet&howMany=#@howMany&offset=#@offset" end |