Class: MailAuth::Signature

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

Overview

One per DKIM-Signature header, whatever each one's fate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status:, domain: nil, selector: nil, algorithm: nil, canonicalization: nil, comment: nil, aligned: false, under_sized: nil) ⇒ Signature

Returns a new instance of Signature.



30
31
32
# File 'lib/mailauth/result.rb', line 30

def initialize(status:, domain: nil, selector: nil, algorithm: nil, canonicalization: nil, comment: nil, aligned: false, under_sized: nil)
  super
end

Instance Attribute Details

#algorithmObject (readonly)

Returns the value of attribute algorithm

Returns:

  • (Object)

    the current value of algorithm



29
30
31
# File 'lib/mailauth/result.rb', line 29

def algorithm
  @algorithm
end

#alignedObject (readonly)

Returns the value of attribute aligned

Returns:

  • (Object)

    the current value of aligned



29
30
31
# File 'lib/mailauth/result.rb', line 29

def aligned
  @aligned
end

#canonicalizationObject (readonly)

Returns the value of attribute canonicalization

Returns:

  • (Object)

    the current value of canonicalization



29
30
31
# File 'lib/mailauth/result.rb', line 29

def canonicalization
  @canonicalization
end

#commentObject (readonly)

Returns the value of attribute comment

Returns:

  • (Object)

    the current value of comment



29
30
31
# File 'lib/mailauth/result.rb', line 29

def comment
  @comment
end

#domainObject (readonly)

Returns the value of attribute domain

Returns:

  • (Object)

    the current value of domain



29
30
31
# File 'lib/mailauth/result.rb', line 29

def domain
  @domain
end

#selectorObject (readonly)

Returns the value of attribute selector

Returns:

  • (Object)

    the current value of selector



29
30
31
# File 'lib/mailauth/result.rb', line 29

def selector
  @selector
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



29
30
31
# File 'lib/mailauth/result.rb', line 29

def status
  @status
end

#under_sizedObject (readonly)

Returns the value of attribute under_sized

Returns:

  • (Object)

    the current value of under_sized



29
30
31
# File 'lib/mailauth/result.rb', line 29

def under_sized
  @under_sized
end