Class: MailReport::Dmarc::Policy
- Inherits:
-
Data
- Object
- Data
- MailReport::Dmarc::Policy
- Defined in:
- lib/mailreport/dmarc/report.rb
Instance Attribute Summary collapse
-
#adkim ⇒ Object
readonly
Returns the value of attribute adkim.
-
#aspf ⇒ Object
readonly
Returns the value of attribute aspf.
-
#domain ⇒ Object
readonly
Returns the value of attribute domain.
-
#fo ⇒ Object
readonly
Returns the value of attribute fo.
-
#p ⇒ Object
readonly
Returns the value of attribute p.
-
#pct ⇒ Object
readonly
Returns the value of attribute pct.
-
#sp ⇒ Object
readonly
Returns the value of attribute sp.
Instance Method Summary collapse
-
#initialize(domain: nil, adkim: nil, aspf: nil, p: nil, sp: nil, pct: nil, fo: nil) ⇒ Policy
constructor
A new instance of Policy.
Constructor Details
#initialize(domain: nil, adkim: nil, aspf: nil, p: nil, sp: nil, pct: nil, fo: nil) ⇒ Policy
Returns a new instance of Policy.
45 46 47 |
# File 'lib/mailreport/dmarc/report.rb', line 45 def initialize(domain: nil, adkim: nil, aspf: nil, p: nil, sp: nil, pct: nil, fo: nil) super end |
Instance Attribute Details
#adkim ⇒ Object (readonly)
Returns the value of attribute adkim
44 45 46 |
# File 'lib/mailreport/dmarc/report.rb', line 44 def adkim @adkim end |
#aspf ⇒ Object (readonly)
Returns the value of attribute aspf
44 45 46 |
# File 'lib/mailreport/dmarc/report.rb', line 44 def aspf @aspf end |
#domain ⇒ Object (readonly)
Returns the value of attribute domain
44 45 46 |
# File 'lib/mailreport/dmarc/report.rb', line 44 def domain @domain end |
#fo ⇒ Object (readonly)
Returns the value of attribute fo
44 45 46 |
# File 'lib/mailreport/dmarc/report.rb', line 44 def fo @fo end |
#p ⇒ Object (readonly)
Returns the value of attribute p
44 45 46 |
# File 'lib/mailreport/dmarc/report.rb', line 44 def p @p end |
#pct ⇒ Object (readonly)
Returns the value of attribute pct
44 45 46 |
# File 'lib/mailreport/dmarc/report.rb', line 44 def pct @pct end |
#sp ⇒ Object (readonly)
Returns the value of attribute sp
44 45 46 |
# File 'lib/mailreport/dmarc/report.rb', line 44 def sp @sp end |