Class: OutsideIn::Category
Overview
Category model class. Each location has a category that describes its places in the location hierachy, e.g state, city, neighborhood, zip code, etc.
Categories have the following attributes:
-
display_name
-
name
Instance Method Summary collapse
-
#to_s ⇒ String
Returns the category’s display name.
Methods inherited from Base
api_attr, api_attrs, #initialize
Constructor Details
This class inherits a constructor from OutsideIn::Base
Instance Method Details
#to_s ⇒ String
Returns the category’s display name.
18 19 20 |
# File 'lib/outside_in/category.rb', line 18 def to_s display_name end |