Class: OutsideIn::Tag

Inherits:
Base
  • Object
show all
Defined in:
lib/outside_in/tag.rb

Overview

Topic tag model class. Tags are attached to stories to provide hints for content and relevance. Keyword queries match against tags as well as story title and summary.

Tags have the following attributes:

  • name

Since:

  • 1.0

Instance Method Summary collapse

Methods inherited from Base

api_attr, api_attrs, #initialize

Constructor Details

This class inherits a constructor from OutsideIn::Base

Instance Method Details

#to_sString

Returns the tag’s name.

Returns:

  • (String)

Since:

  • 1.0



17
18
19
# File 'lib/outside_in/tag.rb', line 17

def to_s
  name
end