Class: FlightInfoExRequest

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

Overview

FlightInfoEx

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(howMany = nil, ident = nil, offset = nil) ⇒ FlightInfoExRequest

Returns a new instance of FlightInfoExRequest.



1143
1144
1145
1146
1147
# File 'lib/FlightXML2REST.rb', line 1143

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

Instance Attribute Details

#howManyObject

Returns the value of attribute howMany.



1142
1143
1144
# File 'lib/FlightXML2REST.rb', line 1142

def howMany
  @howMany
end

#identObject

Returns the value of attribute ident.



1142
1143
1144
# File 'lib/FlightXML2REST.rb', line 1142

def ident
  @ident
end

#offsetObject

Returns the value of attribute offset.



1142
1143
1144
# File 'lib/FlightXML2REST.rb', line 1142

def offset
  @offset
end

Instance Method Details

#postObject



1148
1149
1150
# File 'lib/FlightXML2REST.rb', line 1148

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