class EmSpamc::Result

Constants

ATTRIBUTES

Constants ============================================================

Public Class Methods

new(attributes = nil) click to toggle source

Instance Methods =====================================================

# File lib/em_spamc/result.rb, line 13
def initialize(attributes = nil)
  @attributes = attributes || { }
end

Public Instance Methods

spam?() click to toggle source
# File lib/em_spamc/result.rb, line 27
def spam?
  headers and headers[:spam]
end