Class: Vehicle

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

Instance Attribute Summary collapse

Instance Attribute Details

#last_location_update_timeObject

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_timeObject

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

#locationObject

Returns the value of attribute location.



162
163
164
# File 'lib/onebusaway_ruby_data.rb', line 162

def location
  @location
end

#phaseObject

Returns the value of attribute phase.



167
168
169
# File 'lib/onebusaway_ruby_data.rb', line 167

def phase
  @phase
end

#statusObject

Returns the value of attribute status.



163
164
165
# File 'lib/onebusaway_ruby_data.rb', line 163

def status
  @status
end

#trip_idObject

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_statusObject

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_idObject

Returns the value of attribute vehicle_id.



160
161
162
# File 'lib/onebusaway_ruby_data.rb', line 160

def vehicle_id
  @vehicle_id
end