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.



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

#fleetObject

Returns the value of attribute fleet.



899
900
901
# File 'lib/FlightXML2REST.rb', line 899

def fleet
  @fleet
end

#howManyObject

Returns the value of attribute howMany.



899
900
901
# File 'lib/FlightXML2REST.rb', line 899

def howMany
  @howMany
end

#offsetObject

Returns the value of attribute offset.



899
900
901
# File 'lib/FlightXML2REST.rb', line 899

def offset
  @offset
end

Instance Method Details

#postObject



905
906
907
# File 'lib/FlightXML2REST.rb', line 905

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