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.



1024
1025
1026
1027
# File 'lib/FlightXML2REST.rb', line 1024

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

Instance Attribute Details

#howManyObject

Returns the value of attribute howMany.



1023
1024
1025
# File 'lib/FlightXML2REST.rb', line 1023

def howMany
  @howMany
end

#identObject

Returns the value of attribute ident.



1023
1024
1025
# File 'lib/FlightXML2REST.rb', line 1023

def ident
  @ident
end

Instance Method Details

#postObject



1028
1029
1030
# File 'lib/FlightXML2REST.rb', line 1028

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