Class: MailReport::Dmarc::Record
- Inherits:
-
Data
- Object
- Data
- MailReport::Dmarc::Record
- Defined in:
- lib/mailreport/dmarc/report.rb
Overview
dkim / spf are DMARC aligned verdicts; check results are in auth_results.
Instance Attribute Summary collapse
-
#auth_results ⇒ Object
readonly
Returns the value of attribute auth_results.
-
#count ⇒ Object
readonly
Returns the value of attribute count.
-
#disposition ⇒ Object
readonly
Returns the value of attribute disposition.
-
#dkim ⇒ Object
readonly
Returns the value of attribute dkim.
-
#identifiers ⇒ Object
readonly
Returns the value of attribute identifiers.
-
#reasons ⇒ Object
readonly
Returns the value of attribute reasons.
-
#source_ip ⇒ Object
readonly
Returns the value of attribute source_ip.
-
#spf ⇒ Object
readonly
Returns the value of attribute spf.
Instance Method Summary collapse
-
#initialize(source_ip: nil, count: nil, disposition: nil, dkim: nil, spf: nil, reasons: [], identifiers: Identifiers.new, auth_results: AuthResults.new) ⇒ Record
constructor
A new instance of Record.
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_results ⇒ Object (readonly)
Returns the value of attribute auth_results
37 38 39 |
# File 'lib/mailreport/dmarc/report.rb', line 37 def auth_results @auth_results end |
#count ⇒ Object (readonly)
Returns the value of attribute count
37 38 39 |
# File 'lib/mailreport/dmarc/report.rb', line 37 def count @count end |
#disposition ⇒ Object (readonly)
Returns the value of attribute disposition
37 38 39 |
# File 'lib/mailreport/dmarc/report.rb', line 37 def disposition @disposition end |
#dkim ⇒ Object (readonly)
Returns the value of attribute dkim
37 38 39 |
# File 'lib/mailreport/dmarc/report.rb', line 37 def dkim @dkim end |
#identifiers ⇒ Object (readonly)
Returns the value of attribute identifiers
37 38 39 |
# File 'lib/mailreport/dmarc/report.rb', line 37 def identifiers @identifiers end |
#reasons ⇒ Object (readonly)
Returns the value of attribute reasons
37 38 39 |
# File 'lib/mailreport/dmarc/report.rb', line 37 def reasons @reasons end |
#source_ip ⇒ Object (readonly)
Returns the value of attribute source_ip
37 38 39 |
# File 'lib/mailreport/dmarc/report.rb', line 37 def source_ip @source_ip end |
#spf ⇒ Object (readonly)
Returns the value of attribute spf
37 38 39 |
# File 'lib/mailreport/dmarc/report.rb', line 37 def spf @spf end |