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.



996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
# File 'lib/FlightXML2REST.rb', line 996

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.



985
986
987
# File 'lib/FlightXML2REST.rb', line 985

def aircrafttype
  @aircrafttype
end

#destinationObject

Returns the value of attribute destination.



985
986
987
# File 'lib/FlightXML2REST.rb', line 985

def destination
  @destination
end

#destinationCityObject

Returns the value of attribute destinationCity.



985
986
987
# File 'lib/FlightXML2REST.rb', line 985

def destinationCity
  @destinationCity
end

#destinationNameObject

Returns the value of attribute destinationName.



985
986
987
# File 'lib/FlightXML2REST.rb', line 985

def destinationName
  @destinationName
end

#estimatedarrivaltimeObject

Returns the value of attribute estimatedarrivaltime.



985
986
987
# File 'lib/FlightXML2REST.rb', line 985

def estimatedarrivaltime
  @estimatedarrivaltime
end

#filed_departuretimeObject

Returns the value of attribute filed_departuretime.



985
986
987
# File 'lib/FlightXML2REST.rb', line 985

def filed_departuretime
  @filed_departuretime
end

#identObject

Returns the value of attribute ident.



985
986
987
# File 'lib/FlightXML2REST.rb', line 985

def ident
  @ident
end

#originObject

Returns the value of attribute origin.



985
986
987
# File 'lib/FlightXML2REST.rb', line 985

def origin
  @origin
end

#originCityObject

Returns the value of attribute originCity.



985
986
987
# File 'lib/FlightXML2REST.rb', line 985

def originCity
  @originCity
end

#originNameObject

Returns the value of attribute originName.



985
986
987
# File 'lib/FlightXML2REST.rb', line 985

def originName
  @originName
end