Class: FlightInfoRequest

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

Overview

FlightInfo

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(howMany = nil, ident = nil) ⇒ FlightInfoRequest

Returns a new instance of FlightInfoRequest.



926
927
928
929
# File 'lib/FlightXML2REST.rb', line 926

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

Instance Attribute Details

#howManyObject

Returns the value of attribute howMany.



925
926
927
# File 'lib/FlightXML2REST.rb', line 925

def howMany
  @howMany
end

#identObject

Returns the value of attribute ident.



925
926
927
# File 'lib/FlightXML2REST.rb', line 925

def ident
  @ident
end

Instance Method Details

#postObject



930
931
932
# File 'lib/FlightXML2REST.rb', line 930

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