Class: GetFlightIDRequest

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

Overview

GetFlightID

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(departureTime = nil, ident = nil) ⇒ GetFlightIDRequest

Returns a new instance of GetFlightIDRequest.



1391
1392
1393
1394
# File 'lib/FlightXML2REST.rb', line 1391

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

Instance Attribute Details

#departureTimeObject

Returns the value of attribute departureTime.



1390
1391
1392
# File 'lib/FlightXML2REST.rb', line 1390

def departureTime
  @departureTime
end

#identObject

Returns the value of attribute ident.



1390
1391
1392
# File 'lib/FlightXML2REST.rb', line 1390

def ident
  @ident
end

Instance Method Details

#postObject



1395
1396
1397
# File 'lib/FlightXML2REST.rb', line 1395

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