Class: TrackExStruct

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(altitude = nil, altitudeChange = nil, altitudeStatus = nil, faFlightID = nil, groundspeed = nil, latitude = nil, longitude = nil, timestamp = nil, updateType = nil) ⇒ TrackExStruct

Returns a new instance of TrackExStruct.



2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
# File 'lib/FlightXML2REST.rb', line 2415

def initialize(altitude = nil,
               altitudeChange = nil,
               altitudeStatus = nil,
               faFlightID = nil,
               groundspeed = nil,
               latitude = nil,
               longitude = nil,
               timestamp = nil,
               updateType = nil
              )
  @altitude = altitude
  @altitudeChange = altitudeChange
  @altitudeStatus = altitudeStatus
  @faFlightID = faFlightID
  @groundspeed = groundspeed
  @latitude = latitude
  @longitude = longitude
  @timestamp = timestamp
  @updateType = updateType
end

Instance Attribute Details

#altitudeObject

Returns the value of attribute altitude.



2405
2406
2407
# File 'lib/FlightXML2REST.rb', line 2405

def altitude
  @altitude
end

#altitudeChangeObject

Returns the value of attribute altitudeChange.



2405
2406
2407
# File 'lib/FlightXML2REST.rb', line 2405

def altitudeChange
  @altitudeChange
end

#altitudeStatusObject

Returns the value of attribute altitudeStatus.



2405
2406
2407
# File 'lib/FlightXML2REST.rb', line 2405

def altitudeStatus
  @altitudeStatus
end

#faFlightIDObject

Returns the value of attribute faFlightID.



2405
2406
2407
# File 'lib/FlightXML2REST.rb', line 2405

def faFlightID
  @faFlightID
end

#groundspeedObject

Returns the value of attribute groundspeed.



2405
2406
2407
# File 'lib/FlightXML2REST.rb', line 2405

def groundspeed
  @groundspeed
end

#latitudeObject

Returns the value of attribute latitude.



2405
2406
2407
# File 'lib/FlightXML2REST.rb', line 2405

def latitude
  @latitude
end

#longitudeObject

Returns the value of attribute longitude.



2405
2406
2407
# File 'lib/FlightXML2REST.rb', line 2405

def longitude
  @longitude
end

#timestampObject

Returns the value of attribute timestamp.



2405
2406
2407
# File 'lib/FlightXML2REST.rb', line 2405

def timestamp
  @timestamp
end

#updateTypeObject

Returns the value of attribute updateType.



2405
2406
2407
# File 'lib/FlightXML2REST.rb', line 2405

def updateType
  @updateType
end