Class: Route
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Route
- Defined in:
- lib/onebusaway_ruby_data.rb
Instance Attribute Summary collapse
-
#agency_id ⇒ Object
Returns the value of attribute agency_id.
-
#color ⇒ Object
Returns the value of attribute color.
-
#description ⇒ Object
Returns the value of attribute description.
-
#long_name ⇒ Object
Returns the value of attribute long_name.
-
#route_id ⇒ Object
Returns the value of attribute route_id.
-
#short_name ⇒ Object
Returns the value of attribute short_name.
-
#text_color ⇒ Object
Returns the value of attribute text_color.
-
#type ⇒ Object
Returns the value of attribute type.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Attribute Details
#agency_id ⇒ Object
Returns the value of attribute agency_id.
62 63 64 |
# File 'lib/onebusaway_ruby_data.rb', line 62 def agency_id @agency_id end |
#color ⇒ Object
Returns the value of attribute color.
57 58 59 |
# File 'lib/onebusaway_ruby_data.rb', line 57 def color @color end |
#description ⇒ Object
Returns the value of attribute description.
58 59 60 |
# File 'lib/onebusaway_ruby_data.rb', line 58 def description @description end |
#long_name ⇒ Object
Returns the value of attribute long_name.
59 60 61 |
# File 'lib/onebusaway_ruby_data.rb', line 59 def long_name @long_name end |
#route_id ⇒ Object
Returns the value of attribute route_id.
55 56 57 |
# File 'lib/onebusaway_ruby_data.rb', line 55 def route_id @route_id end |
#short_name ⇒ Object
Returns the value of attribute short_name.
60 61 62 |
# File 'lib/onebusaway_ruby_data.rb', line 60 def short_name @short_name end |
#text_color ⇒ Object
Returns the value of attribute text_color.
56 57 58 |
# File 'lib/onebusaway_ruby_data.rb', line 56 def text_color @text_color end |
#type ⇒ Object
Returns the value of attribute type.
61 62 63 |
# File 'lib/onebusaway_ruby_data.rb', line 61 def type @type end |
#url ⇒ Object
Returns the value of attribute url.
63 64 65 |
# File 'lib/onebusaway_ruby_data.rb', line 63 def url @url end |