Class: MailAuth::SpfResult
- Inherits:
-
Data
- Object
- Data
- MailAuth::SpfResult
- Defined in:
- lib/mailauth/result.rb
Instance Attribute Summary collapse
-
#comment ⇒ Object
readonly
Returns the value of attribute comment.
-
#domain ⇒ Object
readonly
Returns the value of attribute domain.
-
#lookups ⇒ Object
readonly
Returns the value of attribute lookups.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status:, domain: nil, comment: nil, lookups: 0) ⇒ SpfResult
constructor
A new instance of SpfResult.
Constructor Details
#initialize(status:, domain: nil, comment: nil, lookups: 0) ⇒ SpfResult
Returns a new instance of SpfResult.
23 24 25 |
# File 'lib/mailauth/result.rb', line 23 def initialize(status:, domain: nil, comment: nil, lookups: 0) super end |
Instance Attribute Details
#comment ⇒ Object (readonly)
Returns the value of attribute comment
22 23 24 |
# File 'lib/mailauth/result.rb', line 22 def comment @comment end |
#domain ⇒ Object (readonly)
Returns the value of attribute domain
22 23 24 |
# File 'lib/mailauth/result.rb', line 22 def domain @domain end |
#lookups ⇒ Object (readonly)
Returns the value of attribute lookups
22 23 24 |
# File 'lib/mailauth/result.rb', line 22 def lookups @lookups end |
#status ⇒ Object (readonly)
Returns the value of attribute status
22 23 24 |
# File 'lib/mailauth/result.rb', line 22 def status @status end |