Class: ScheduledFlightStruct

Inherits:
Object
  • Object
show all
Defined in:
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) ⇒ ScheduledFlightStruct

Returns a new instance of ScheduledFlightStruct.



898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
# File 'lib/FlightXML2REST.rb', line 898

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

Instance Attribute Details

#aircrafttypeObject

Returns the value of attribute aircrafttype.



887
888
889
# File 'lib/FlightXML2REST.rb', line 887

def aircrafttype
  @aircrafttype
end

#destinationObject

Returns the value of attribute destination.



887
888
889
# File 'lib/FlightXML2REST.rb', line 887

def destination
  @destination
end

#destinationCityObject

Returns the value of attribute destinationCity.



887
888
889
# File 'lib/FlightXML2REST.rb', line 887

def destinationCity
  @destinationCity
end

#destinationNameObject

Returns the value of attribute destinationName.



887
888
889
# File 'lib/FlightXML2REST.rb', line 887

def destinationName
  @destinationName
end

#estimatedarrivaltimeObject

Returns the value of attribute estimatedarrivaltime.



887
888
889
# File 'lib/FlightXML2REST.rb', line 887

def estimatedarrivaltime
  @estimatedarrivaltime
end

#filed_departuretimeObject

Returns the value of attribute filed_departuretime.



887
888
889
# File 'lib/FlightXML2REST.rb', line 887

def filed_departuretime
  @filed_departuretime
end

#identObject

Returns the value of attribute ident.



887
888
889
# File 'lib/FlightXML2REST.rb', line 887

def ident
  @ident
end

#originObject

Returns the value of attribute origin.



887
888
889
# File 'lib/FlightXML2REST.rb', line 887

def origin
  @origin
end

#originCityObject

Returns the value of attribute originCity.



887
888
889
# File 'lib/FlightXML2REST.rb', line 887

def originCity
  @originCity
end

#originNameObject

Returns the value of attribute originName.



887
888
889
# File 'lib/FlightXML2REST.rb', line 887

def originName
  @originName
end