Class: TrackStruct
- Inherits:
-
Object
- Object
- TrackStruct
- Defined in:
- lib/FlightXML2REST.rb
Instance Attribute Summary collapse
-
#altitude ⇒ Object
Returns the value of attribute altitude.
-
#altitudeChange ⇒ Object
Returns the value of attribute altitudeChange.
-
#altitudeStatus ⇒ Object
Returns the value of attribute altitudeStatus.
-
#groundspeed ⇒ Object
Returns the value of attribute groundspeed.
-
#latitude ⇒ Object
Returns the value of attribute latitude.
-
#longitude ⇒ Object
Returns the value of attribute longitude.
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
-
#updateType ⇒ Object
Returns the value of attribute updateType.
Instance Method Summary collapse
-
#initialize(altitude = nil, altitudeChange = nil, altitudeStatus = nil, groundspeed = nil, latitude = nil, longitude = nil, timestamp = nil, updateType = nil) ⇒ TrackStruct
constructor
A new instance of TrackStruct.
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.
1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 |
# File 'lib/FlightXML2REST.rb', line 1344 def initialize (altitude = nil, altitudeChange = nil, altitudeStatus = nil, groundspeed = nil, latitude = nil, longitude = nil, = nil, updateType = nil ) @altitude = altitude @altitudeChange = altitudeChange @altitudeStatus = altitudeStatus @groundspeed = groundspeed @latitude = latitude @longitude = longitude = @updateType = updateType end |
Instance Attribute Details
#altitude ⇒ Object
Returns the value of attribute altitude.
1335 1336 1337 |
# File 'lib/FlightXML2REST.rb', line 1335 def altitude @altitude end |
#altitudeChange ⇒ Object
Returns the value of attribute altitudeChange.
1335 1336 1337 |
# File 'lib/FlightXML2REST.rb', line 1335 def altitudeChange @altitudeChange end |
#altitudeStatus ⇒ Object
Returns the value of attribute altitudeStatus.
1335 1336 1337 |
# File 'lib/FlightXML2REST.rb', line 1335 def altitudeStatus @altitudeStatus end |
#groundspeed ⇒ Object
Returns the value of attribute groundspeed.
1335 1336 1337 |
# File 'lib/FlightXML2REST.rb', line 1335 def groundspeed @groundspeed end |
#latitude ⇒ Object
Returns the value of attribute latitude.
1335 1336 1337 |
# File 'lib/FlightXML2REST.rb', line 1335 def latitude @latitude end |
#longitude ⇒ Object
Returns the value of attribute longitude.
1335 1336 1337 |
# File 'lib/FlightXML2REST.rb', line 1335 def longitude @longitude end |
#timestamp ⇒ Object
Returns the value of attribute timestamp.
1335 1336 1337 |
# File 'lib/FlightXML2REST.rb', line 1335 def end |
#updateType ⇒ Object
Returns the value of attribute updateType.
1335 1336 1337 |
# File 'lib/FlightXML2REST.rb', line 1335 def updateType @updateType end |