Class: Stop

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

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code.



85
86
87
# File 'lib/onebusaway_ruby_data.rb', line 85

def code
  @code
end

#directionObject

Returns the value of attribute direction.



83
84
85
# File 'lib/onebusaway_ruby_data.rb', line 83

def direction
  @direction
end

#latObject

Returns the value of attribute lat.



81
82
83
# File 'lib/onebusaway_ruby_data.rb', line 81

def lat
  @lat
end

#location_typeObject

Returns the value of attribute location_type.



86
87
88
# File 'lib/onebusaway_ruby_data.rb', line 86

def location_type
  @location_type
end

#lonObject

Returns the value of attribute lon.



82
83
84
# File 'lib/onebusaway_ruby_data.rb', line 82

def lon
  @lon
end

#nameObject

Returns the value of attribute name.



84
85
86
# File 'lib/onebusaway_ruby_data.rb', line 84

def name
  @name
end

#routesObject

Returns the value of attribute routes.



87
88
89
# File 'lib/onebusaway_ruby_data.rb', line 87

def routes
  @routes
end

#stop_idObject

Returns the value of attribute stop_id.



80
81
82
# File 'lib/onebusaway_ruby_data.rb', line 80

def stop_id
  @stop_id
end