Class: Vehicle
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Vehicle
- Defined in:
- lib/onebusaway_ruby_data.rb
Instance Attribute Summary collapse
-
#last_location_update_time ⇒ Object
Returns the value of attribute last_location_update_time.
-
#last_update_time ⇒ Object
Returns the value of attribute last_update_time.
-
#location ⇒ Object
Returns the value of attribute location.
-
#phase ⇒ Object
Returns the value of attribute phase.
-
#status ⇒ Object
Returns the value of attribute status.
-
#trip_id ⇒ Object
Returns the value of attribute trip_id.
-
#trip_status ⇒ Object
Returns the value of attribute trip_status.
-
#vehicle_id ⇒ Object
Returns the value of attribute vehicle_id.
Instance Attribute Details
#last_location_update_time ⇒ Object
Returns the value of attribute last_location_update_time.
161 162 163 |
# File 'lib/onebusaway_ruby_data.rb', line 161 def last_location_update_time @last_location_update_time end |
#last_update_time ⇒ Object
Returns the value of attribute last_update_time.
164 165 166 |
# File 'lib/onebusaway_ruby_data.rb', line 164 def last_update_time @last_update_time end |
#location ⇒ Object
Returns the value of attribute location.
162 163 164 |
# File 'lib/onebusaway_ruby_data.rb', line 162 def location @location end |
#phase ⇒ Object
Returns the value of attribute phase.
167 168 169 |
# File 'lib/onebusaway_ruby_data.rb', line 167 def phase @phase end |
#status ⇒ Object
Returns the value of attribute status.
163 164 165 |
# File 'lib/onebusaway_ruby_data.rb', line 163 def status @status end |
#trip_id ⇒ Object
Returns the value of attribute trip_id.
165 166 167 |
# File 'lib/onebusaway_ruby_data.rb', line 165 def trip_id @trip_id end |
#trip_status ⇒ Object
Returns the value of attribute trip_status.
166 167 168 |
# File 'lib/onebusaway_ruby_data.rb', line 166 def trip_status @trip_status end |
#vehicle_id ⇒ Object
Returns the value of attribute vehicle_id.
160 161 162 |
# File 'lib/onebusaway_ruby_data.rb', line 160 def vehicle_id @vehicle_id end |