Class: Route

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

Instance Attribute Summary collapse

Instance Attribute Details

#agency_idObject

Returns the value of attribute agency_id.



62
63
64
# File 'lib/onebusaway_ruby_data.rb', line 62

def agency_id
  @agency_id
end

#colorObject

Returns the value of attribute color.



57
58
59
# File 'lib/onebusaway_ruby_data.rb', line 57

def color
  @color
end

#descriptionObject

Returns the value of attribute description.



58
59
60
# File 'lib/onebusaway_ruby_data.rb', line 58

def description
  @description
end

#long_nameObject

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_idObject

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_nameObject

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_colorObject

Returns the value of attribute text_color.



56
57
58
# File 'lib/onebusaway_ruby_data.rb', line 56

def text_color
  @text_color
end

#typeObject

Returns the value of attribute type.



61
62
63
# File 'lib/onebusaway_ruby_data.rb', line 61

def type
  @type
end

#urlObject

Returns the value of attribute url.



63
64
65
# File 'lib/onebusaway_ruby_data.rb', line 63

def url
  @url
end