Class: ArrivalFlightStruct

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(aircrafttype = nil, destination = nil, destinationCity = nil, destinationName = nil, estimatedarrivaltime = nil, filed_departuretime = nil, ident = nil, origin = nil, originCity = nil, originName = nil) ⇒ ArrivalFlightStruct

Returns a new instance of ArrivalFlightStruct.



523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
# File 'lib/FlightXML2REST.rb', line 523

def initialize(actualarrivaltime = nil,
               actualdeparturetime = nil,
               aircrafttype = nil,
               destination = nil,
               destinationCity = nil,
               destinationName = nil,
               ident = nil,
               origin = nil,
               originCity = nil,
               originName = nil
              ) 
  @actualarrivaltime = actualarrivaltime
  @actualdeparturetime = actualdeparturetime
  @aircrafttype = aircrafttype
  @destination = destination
  @destinationCity = destinationCity
  @destinationName = destinationName
  @ident = ident
  @origin = origin
  @originCity = originCity
  @originName = originName
end

Instance Attribute Details

#actualarrivaltimeObject

Returns the value of attribute actualarrivaltime.



512
513
514
# File 'lib/FlightXML2REST.rb', line 512

def actualarrivaltime
  @actualarrivaltime
end

#actualdeparturetimeObject

Returns the value of attribute actualdeparturetime.



512
513
514
# File 'lib/FlightXML2REST.rb', line 512

def actualdeparturetime
  @actualdeparturetime
end

#aircrafttypeObject

Returns the value of attribute aircrafttype.



512
513
514
# File 'lib/FlightXML2REST.rb', line 512

def aircrafttype
  @aircrafttype
end

#destinationObject

Returns the value of attribute destination.



512
513
514
# File 'lib/FlightXML2REST.rb', line 512

def destination
  @destination
end

#destinationCityObject

Returns the value of attribute destinationCity.



512
513
514
# File 'lib/FlightXML2REST.rb', line 512

def destinationCity
  @destinationCity
end

#destinationNameObject

Returns the value of attribute destinationName.



512
513
514
# File 'lib/FlightXML2REST.rb', line 512

def destinationName
  @destinationName
end

#estimatedarrivaltimeObject

Returns the value of attribute estimatedarrivaltime.



2202
2203
2204
# File 'lib/FlightXML2REST.rb', line 2202

def estimatedarrivaltime
  @estimatedarrivaltime
end

#filed_departuretimeObject

Returns the value of attribute filed_departuretime.



2202
2203
2204
# File 'lib/FlightXML2REST.rb', line 2202

def filed_departuretime
  @filed_departuretime
end

#identObject

Returns the value of attribute ident.



512
513
514
# File 'lib/FlightXML2REST.rb', line 512

def ident
  @ident
end

#originObject

Returns the value of attribute origin.



512
513
514
# File 'lib/FlightXML2REST.rb', line 512

def origin
  @origin
end

#originCityObject

Returns the value of attribute originCity.



512
513
514
# File 'lib/FlightXML2REST.rb', line 512

def originCity
  @originCity
end

#originNameObject

Returns the value of attribute originName.



512
513
514
# File 'lib/FlightXML2REST.rb', line 512

def originName
  @originName
end