Class: Truemail::Auditor
- Inherits:
-
Object
- Object
- Truemail::Auditor
- Defined in:
- lib/truemail/auditor.rb
Defined Under Namespace
Classes: Result
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(configuration:) ⇒ Auditor
constructor
A new instance of Auditor.
- #run ⇒ Object
Constructor Details
#initialize(configuration:) ⇒ Auditor
Returns a new instance of Auditor.
13 14 15 |
# File 'lib/truemail/auditor.rb', line 13 def initialize(configuration:) @result = Truemail::Auditor::Result.new(configuration: configuration) end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
11 12 13 |
# File 'lib/truemail/auditor.rb', line 11 def result @result end |
Instance Method Details
#run ⇒ Object
17 18 19 20 |
# File 'lib/truemail/auditor.rb', line 17 def run Truemail::Audit::Ptr.check(result) self end |