Class: MailAuth::SpfResult

Inherits:
Data
  • Object
show all
Defined in:
lib/mailauth/result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status:, domain: nil, comment: nil, lookups: 0) ⇒ SpfResult

Returns a new instance of SpfResult.



23
24
25
# File 'lib/mailauth/result.rb', line 23

def initialize(status:, domain: nil, comment: nil, lookups: 0)
  super
end

Instance Attribute Details

#commentObject (readonly)

Returns the value of attribute comment

Returns:

  • (Object)

    the current value of comment



22
23
24
# File 'lib/mailauth/result.rb', line 22

def comment
  @comment
end

#domainObject (readonly)

Returns the value of attribute domain

Returns:

  • (Object)

    the current value of domain



22
23
24
# File 'lib/mailauth/result.rb', line 22

def domain
  @domain
end

#lookupsObject (readonly)

Returns the value of attribute lookups

Returns:

  • (Object)

    the current value of lookups



22
23
24
# File 'lib/mailauth/result.rb', line 22

def lookups
  @lookups
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



22
23
24
# File 'lib/mailauth/result.rb', line 22

def status
  @status
end