Class: Truemail::Audit::Ptr
- Defined in:
- lib/truemail/audit/ptr.rb
Constant Summary collapse
- PTR_NOT_FOUND =
'PTR-record for current host ip address was not found'
- PTR_NOT_REFER =
'PTR-record does not reference to current verifier domain'
Instance Attribute Summary
Attributes inherited from Worker
Instance Method Summary collapse
Methods inherited from Worker
Constructor Details
This class inherits a constructor from Truemail::Worker
Instance Method Details
#run ⇒ Object
9 10 11 12 13 |
# File 'lib/truemail/audit/ptr.rb', line 9 def run return add_warning(Truemail::Audit::Ptr::PTR_NOT_FOUND) if ptr_records.empty? return if ptr_refer_to_verifier_domain? add_warning(Truemail::Audit::Ptr::PTR_NOT_REFER) end |