Class: FleetScheduledRequest

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

Overview

FleetScheduled

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#fleetObject

Returns the value of attribute fleet.



939
940
941
# File 'lib/FlightXML2REST.rb', line 939

def fleet
  @fleet
end

#howManyObject

Returns the value of attribute howMany.



939
940
941
# File 'lib/FlightXML2REST.rb', line 939

def howMany
  @howMany
end

#offsetObject

Returns the value of attribute offset.



939
940
941
# File 'lib/FlightXML2REST.rb', line 939

def offset
  @offset
end

Instance Method Details

#postObject



945
946
947
# File 'lib/FlightXML2REST.rb', line 945

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