Class: MailAuth::DmarcResult
- Inherits:
-
Data
- Object
- Data
- MailAuth::DmarcResult
- Defined in:
- lib/mailauth/result.rb
Overview
fail says the check failed; policy says what the domain asked us to do
about it. Folding those together is a consumer's decision, not ours.
Instance Attribute Summary collapse
-
#alignment ⇒ Object
readonly
Returns the value of attribute alignment.
-
#pct ⇒ Object
readonly
Returns the value of attribute pct.
-
#policy ⇒ Object
readonly
Returns the value of attribute policy.
-
#record ⇒ Object
readonly
Returns the value of attribute record.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status:, policy: nil, pct: nil, alignment: nil, record: nil) ⇒ DmarcResult
constructor
A new instance of DmarcResult.
Constructor Details
#initialize(status:, policy: nil, pct: nil, alignment: nil, record: nil) ⇒ DmarcResult
Returns a new instance of DmarcResult.
17 18 19 |
# File 'lib/mailauth/result.rb', line 17 def initialize(status:, policy: nil, pct: nil, alignment: nil, record: nil) super end |
Instance Attribute Details
#alignment ⇒ Object (readonly)
Returns the value of attribute alignment
16 17 18 |
# File 'lib/mailauth/result.rb', line 16 def alignment @alignment end |
#pct ⇒ Object (readonly)
Returns the value of attribute pct
16 17 18 |
# File 'lib/mailauth/result.rb', line 16 def pct @pct end |
#policy ⇒ Object (readonly)
Returns the value of attribute policy
16 17 18 |
# File 'lib/mailauth/result.rb', line 16 def policy @policy end |
#record ⇒ Object (readonly)
Returns the value of attribute record
16 17 18 |
# File 'lib/mailauth/result.rb', line 16 def record @record end |
#status ⇒ Object (readonly)
Returns the value of attribute status
16 17 18 |
# File 'lib/mailauth/result.rb', line 16 def status @status end |