class RubySpamAssassin::SpamResult

Attributes

content_length[RW]
report[RW]
response_code[RW]
response_message[RW]
response_version[RW]
score[RW]
spam[RW]
tags[RW]
threshold[RW]

Public Instance Methods

spam?() click to toggle source

returns true if the message was spam, otherwise false

# File lib/RubySpamAssassin.rb, line 15
def spam?
  (@spam == "True" || @spam == "Yes") ? true : false
end