Class: MailReport::Dmarc::Reason

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

Overview

Override reasons from §7.2 (forwarded, mailing_list, …).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type: nil, comment: nil) ⇒ Reason

Returns a new instance of Reason.



31
32
33
# File 'lib/mailreport/dmarc/report.rb', line 31

def initialize(type: nil, comment: nil)
  super
end

Instance Attribute Details

#commentObject (readonly)

Returns the value of attribute comment

Returns:

  • (Object)

    the current value of comment



30
31
32
# File 'lib/mailreport/dmarc/report.rb', line 30

def comment
  @comment
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



30
31
32
# File 'lib/mailreport/dmarc/report.rb', line 30

def type
  @type
end