Class: Georgia::Message

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Indexer, Rakismet::Model
Defined in:
app/models/georgia/message.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Indexer

included

Instance Attribute Details

#author_urlObject

Returns the value of attribute author_url.



19
20
21
# File 'app/models/georgia/message.rb', line 19

def author_url
  @author_url
end

Returns the value of attribute permalink.



19
20
21
# File 'app/models/georgia/message.rb', line 19

def permalink
  @permalink
end

Instance Method Details

#statusObject



25
26
27
# File 'app/models/georgia/message.rb', line 25

def status
  @status ||= spam ? 'spam' : 'clean'
end