Class: MailReport::Dmarc::Reason
- Inherits:
-
Data
- Object
- Data
- MailReport::Dmarc::Reason
- Defined in:
- lib/mailreport/dmarc/report.rb
Overview
Override reasons from §7.2 (forwarded, mailing_list, …).
Instance Attribute Summary collapse
-
#comment ⇒ Object
readonly
Returns the value of attribute comment.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type: nil, comment: nil) ⇒ Reason
constructor
A new instance of Reason.
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
#comment ⇒ Object (readonly)
Returns the value of attribute comment
30 31 32 |
# File 'lib/mailreport/dmarc/report.rb', line 30 def comment @comment end |
#type ⇒ Object (readonly)
Returns the value of attribute type
30 31 32 |
# File 'lib/mailreport/dmarc/report.rb', line 30 def type @type end |