Class: GetFlightIDRequest
- Inherits:
-
Object
- Object
- GetFlightIDRequest
- Defined in:
- lib/FlightXML2REST.rb
Overview
GetFlightID
Instance Attribute Summary collapse
-
#departureTime ⇒ Object
Returns the value of attribute departureTime.
-
#ident ⇒ Object
Returns the value of attribute ident.
Instance Method Summary collapse
-
#initialize(departureTime = nil, ident = nil) ⇒ GetFlightIDRequest
constructor
A new instance of GetFlightIDRequest.
- #post ⇒ Object
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
#departureTime ⇒ Object
Returns the value of attribute departureTime.
1390 1391 1392 |
# File 'lib/FlightXML2REST.rb', line 1390 def departureTime @departureTime end |
#ident ⇒ Object
Returns the value of attribute ident.
1390 1391 1392 |
# File 'lib/FlightXML2REST.rb', line 1390 def ident @ident end |
Instance Method Details
#post ⇒ Object
1395 1396 1397 |
# File 'lib/FlightXML2REST.rb', line 1395 def post "departureTime=#@departureTime&ident=#@ident" end |