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.



1040
1041
1042
1043
1044
# File 'lib/FlightXML2REST.rb', line 1040

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.



1039
1040
1041
# File 'lib/FlightXML2REST.rb', line 1039

def howMany
  @howMany
end

#identObject

Returns the value of attribute ident.



1039
1040
1041
# File 'lib/FlightXML2REST.rb', line 1039

def ident
  @ident
end

#offsetObject

Returns the value of attribute offset.



1039
1040
1041
# File 'lib/FlightXML2REST.rb', line 1039

def offset
  @offset
end

Instance Method Details

#postObject



1045
1046
1047
# File 'lib/FlightXML2REST.rb', line 1045

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