Class: Georgia::Message
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Georgia::Message
- Includes:
- Indexer, Rakismet::Model
- Defined in:
- app/models/georgia/message.rb
Instance Attribute Summary collapse
-
#author_url ⇒ Object
Returns the value of attribute author_url.
-
#permalink ⇒ Object
Returns the value of attribute permalink.
Instance Method Summary collapse
Methods included from Indexer
Instance Attribute Details
#author_url ⇒ Object
Returns the value of attribute author_url.
19 20 21 |
# File 'app/models/georgia/message.rb', line 19 def end |
#permalink ⇒ Object
Returns the value of attribute permalink.
19 20 21 |
# File 'app/models/georgia/message.rb', line 19 def permalink @permalink end |
Instance Method Details
#status ⇒ Object
25 26 27 |
# File 'app/models/georgia/message.rb', line 25 def status @status ||= spam ? 'spam' : 'clean' end |