Class: FleetArrivedRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/FlightXML2REST.rb

Overview

FleetArrived

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fleet = nil, howMany = nil, offset = nil) ⇒ FleetArrivedRequest

Returns a new instance of FleetArrivedRequest.



812
813
814
815
816
# File 'lib/FlightXML2REST.rb', line 812

def initialize(fleet = nil, howMany = nil, offset = nil)
  @fleet = fleet
  @howMany = howMany
  @offset = offset
end

Instance Attribute Details

#fleetObject

Returns the value of attribute fleet.



811
812
813
# File 'lib/FlightXML2REST.rb', line 811

def fleet
  @fleet
end

#howManyObject

Returns the value of attribute howMany.



811
812
813
# File 'lib/FlightXML2REST.rb', line 811

def howMany
  @howMany
end

#offsetObject

Returns the value of attribute offset.



811
812
813
# File 'lib/FlightXML2REST.rb', line 811

def offset
  @offset
end

Instance Method Details

#postObject



817
818
819
# File 'lib/FlightXML2REST.rb', line 817

def post
  "fleet=#@fleet&howMany=#@howMany&offset=#@offset"
end