Exception: SPF::Result::NeutralByDefault

Inherits:
Neutral show all
Defined in:
lib/spf/result.rb

Constant Summary collapse

NAME =

This is a special-case of the Neutral result that is thrown as a default when “falling off” the end of the record. See SPF::Record.eval().

:neutral_by_default

Constants inherited from SPF::Result

ATEXT_PATTERN, DOT_ATOM_PATTERN, RECEIVED_SPF_HEADER_IDENTITY_KEY_NAMES_BY_SCOPE, RECEIVED_SPF_HEADER_NAME, RECEIVED_SPF_HEADER_SCOPE_NAMES_BY_SCOPE, RESULT_CLASSES

Instance Attribute Summary

Attributes inherited from SPF::Result

#request, #server

Instance Method Summary collapse

Methods inherited from SPF::Result

#initialize, #is_code, #isa_by_name, #klass, #local_explanation, #name, #received_spf_header, #to_s

Constructor Details

This class inherits a constructor from SPF::Result

Instance Method Details

#codeObject



66
67
68
# File 'lib/spf/result.rb', line 66

def code
  :neutral_by_default
end