Sha256: 0d0482002efd1659e2e7554a6f40957f7c3e180c2618730f13995f61545b64e6
Contents?: true
Size: 453 Bytes
Versions: 1
Compression:
Stored size: 453 Bytes
Contents
module Georgia module Mailer class SpamCheck def initialize message @message = message end # The .spam? method comes from Rakismet. It gathers the necessary information and # and calls Akismet for a spam check. It returns true or false based on the status # # https://github.com/joshfrench/rakismet/blob/master/lib/rakismet/model.rb def call @message.spam? end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
georgia_mailer-0.8.0 | app/services/georgia/mailer/spam_check.rb |