Class: TrackStruct

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, groundspeed = nil, latitude = nil, longitude = nil, timestamp = nil, updateType = nil) ⇒ TrackStruct

Returns a new instance of TrackStruct.



1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1467

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

Instance Attribute Details

#altitudeObject

Returns the value of attribute altitude.



1458
1459
1460
# File 'lib/FlightXML2REST.rb', line 1458

def altitude
  @altitude
end

#altitudeChangeObject

Returns the value of attribute altitudeChange.



1458
1459
1460
# File 'lib/FlightXML2REST.rb', line 1458

def altitudeChange
  @altitudeChange
end

#altitudeStatusObject

Returns the value of attribute altitudeStatus.



1458
1459
1460
# File 'lib/FlightXML2REST.rb', line 1458

def altitudeStatus
  @altitudeStatus
end

#groundspeedObject

Returns the value of attribute groundspeed.



1458
1459
1460
# File 'lib/FlightXML2REST.rb', line 1458

def groundspeed
  @groundspeed
end

#latitudeObject

Returns the value of attribute latitude.



1458
1459
1460
# File 'lib/FlightXML2REST.rb', line 1458

def latitude
  @latitude
end

#longitudeObject

Returns the value of attribute longitude.



1458
1459
1460
# File 'lib/FlightXML2REST.rb', line 1458

def longitude
  @longitude
end

#timestampObject

Returns the value of attribute timestamp.



1458
1459
1460
# File 'lib/FlightXML2REST.rb', line 1458

def timestamp
  @timestamp
end

#updateTypeObject

Returns the value of attribute updateType.



1458
1459
1460
# File 'lib/FlightXML2REST.rb', line 1458

def updateType
  @updateType
end