Class: MailAuth::Spf::Term
- Inherits:
-
Data
- Object
- Data
- MailAuth::Spf::Term
- Defined in:
- lib/mailauth/spf/record.rb
Overview
target is already macro-expanded at parse time, so a broken macro is
caught even when the mechanism it sits in is never reached.
Instance Attribute Summary collapse
-
#cidr4 ⇒ Object
readonly
Returns the value of attribute cidr4.
-
#cidr6 ⇒ Object
readonly
Returns the value of attribute cidr6.
-
#mechanism ⇒ Object
readonly
Returns the value of attribute mechanism.
-
#network ⇒ Object
readonly
Returns the value of attribute network.
-
#qualifier ⇒ Object
readonly
Returns the value of attribute qualifier.
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Instance Method Summary collapse
-
#initialize(qualifier:, mechanism:, target: nil, network: nil, cidr4: nil, cidr6: nil) ⇒ Term
constructor
A new instance of Term.
Constructor Details
#initialize(qualifier:, mechanism:, target: nil, network: nil, cidr4: nil, cidr6: nil) ⇒ Term
Returns a new instance of Term.
6 7 8 |
# File 'lib/mailauth/spf/record.rb', line 6 def initialize(qualifier:, mechanism:, target: nil, network: nil, cidr4: nil, cidr6: nil) super end |
Instance Attribute Details
#cidr4 ⇒ Object (readonly)
Returns the value of attribute cidr4
5 6 7 |
# File 'lib/mailauth/spf/record.rb', line 5 def cidr4 @cidr4 end |
#cidr6 ⇒ Object (readonly)
Returns the value of attribute cidr6
5 6 7 |
# File 'lib/mailauth/spf/record.rb', line 5 def cidr6 @cidr6 end |
#mechanism ⇒ Object (readonly)
Returns the value of attribute mechanism
5 6 7 |
# File 'lib/mailauth/spf/record.rb', line 5 def mechanism @mechanism end |
#network ⇒ Object (readonly)
Returns the value of attribute network
5 6 7 |
# File 'lib/mailauth/spf/record.rb', line 5 def network @network end |
#qualifier ⇒ Object (readonly)
Returns the value of attribute qualifier
5 6 7 |
# File 'lib/mailauth/spf/record.rb', line 5 def qualifier @qualifier end |
#target ⇒ Object (readonly)
Returns the value of attribute target
5 6 7 |
# File 'lib/mailauth/spf/record.rb', line 5 def target @target end |