Class: MailReport::Dmarc::Record

Inherits:
Data
  • Object
show all
Defined in:
lib/mailreport/dmarc/report.rb

Overview

dkim / spf are DMARC aligned verdicts; check results are in auth_results.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_ip: nil, count: nil, disposition: nil, dkim: nil, spf: nil, reasons: [], identifiers: Identifiers.new, auth_results: AuthResults.new) ⇒ Record

Returns a new instance of Record.



38
39
40
41
# File 'lib/mailreport/dmarc/report.rb', line 38

def initialize(source_ip: nil, count: nil, disposition: nil, dkim: nil, spf: nil,
               reasons: [], identifiers: Identifiers.new, auth_results: AuthResults.new)
  super
end

Instance Attribute Details

#auth_resultsObject (readonly)

Returns the value of attribute auth_results

Returns:

  • (Object)

    the current value of auth_results



37
38
39
# File 'lib/mailreport/dmarc/report.rb', line 37

def auth_results
  @auth_results
end

#countObject (readonly)

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



37
38
39
# File 'lib/mailreport/dmarc/report.rb', line 37

def count
  @count
end

#dispositionObject (readonly)

Returns the value of attribute disposition

Returns:

  • (Object)

    the current value of disposition



37
38
39
# File 'lib/mailreport/dmarc/report.rb', line 37

def disposition
  @disposition
end

#dkimObject (readonly)

Returns the value of attribute dkim

Returns:

  • (Object)

    the current value of dkim



37
38
39
# File 'lib/mailreport/dmarc/report.rb', line 37

def dkim
  @dkim
end

#identifiersObject (readonly)

Returns the value of attribute identifiers

Returns:

  • (Object)

    the current value of identifiers



37
38
39
# File 'lib/mailreport/dmarc/report.rb', line 37

def identifiers
  @identifiers
end

#reasonsObject (readonly)

Returns the value of attribute reasons

Returns:

  • (Object)

    the current value of reasons



37
38
39
# File 'lib/mailreport/dmarc/report.rb', line 37

def reasons
  @reasons
end

#source_ipObject (readonly)

Returns the value of attribute source_ip

Returns:

  • (Object)

    the current value of source_ip



37
38
39
# File 'lib/mailreport/dmarc/report.rb', line 37

def source_ip
  @source_ip
end

#spfObject (readonly)

Returns the value of attribute spf

Returns:

  • (Object)

    the current value of spf



37
38
39
# File 'lib/mailreport/dmarc/report.rb', line 37

def spf
  @spf
end