Class: FleetScheduledRequest
- Inherits:
-
Object
- Object
- FleetScheduledRequest
- Defined in:
- lib/FlightXML2REST.rb
Overview
FleetScheduled
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) ⇒ FleetScheduledRequest
constructor
A new instance of FleetScheduledRequest.
- #post ⇒ Object
Constructor Details
#initialize(fleet = nil, howMany = nil, offset = nil) ⇒ FleetScheduledRequest
Returns a new instance of FleetScheduledRequest.
940 941 942 943 944 |
# File 'lib/FlightXML2REST.rb', line 940 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.
939 940 941 |
# File 'lib/FlightXML2REST.rb', line 939 def fleet @fleet end |
#howMany ⇒ Object
Returns the value of attribute howMany.
939 940 941 |
# File 'lib/FlightXML2REST.rb', line 939 def howMany @howMany end |
#offset ⇒ Object
Returns the value of attribute offset.
939 940 941 |
# File 'lib/FlightXML2REST.rb', line 939 def offset @offset end |
Instance Method Details
#post ⇒ Object
945 946 947 |
# File 'lib/FlightXML2REST.rb', line 945 def post "fleet=#@fleet&howMany=#@howMany&offset=#@offset" end |