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.
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, = nil, updateType = nil ) @altitude = altitude @altitudeChange = altitudeChange @altitudeStatus = altitudeStatus @groundspeed = groundspeed @latitude = latitude @longitude = longitude @timestamp = @updateType = updateType end |
Instance Attribute Details
#altitude ⇒ Object
Returns the value of attribute altitude.
1458 1459 1460 |
# File 'lib/FlightXML2REST.rb', line 1458 def altitude @altitude end |
#altitudeChange ⇒ Object
Returns the value of attribute altitudeChange.
1458 1459 1460 |
# File 'lib/FlightXML2REST.rb', line 1458 def altitudeChange @altitudeChange end |
#altitudeStatus ⇒ Object
Returns the value of attribute altitudeStatus.
1458 1459 1460 |
# File 'lib/FlightXML2REST.rb', line 1458 def altitudeStatus @altitudeStatus end |
#groundspeed ⇒ Object
Returns the value of attribute groundspeed.
1458 1459 1460 |
# File 'lib/FlightXML2REST.rb', line 1458 def groundspeed @groundspeed end |
#latitude ⇒ Object
Returns the value of attribute latitude.
1458 1459 1460 |
# File 'lib/FlightXML2REST.rb', line 1458 def latitude @latitude end |
#longitude ⇒ Object
Returns the value of attribute longitude.
1458 1459 1460 |
# File 'lib/FlightXML2REST.rb', line 1458 def longitude @longitude end |
#timestamp ⇒ Object
Returns the value of attribute timestamp.
1458 1459 1460 |
# File 'lib/FlightXML2REST.rb', line 1458 def @timestamp end |
#updateType ⇒ Object
Returns the value of attribute updateType.
1458 1459 1460 |
# File 'lib/FlightXML2REST.rb', line 1458 def updateType @updateType end |