Class: Chkex::Checker
- Inherits:
-
Object
- Object
- Chkex::Checker
- Defined in:
- lib/chkex/checker.rb
Instance Method Summary collapse
-
#initialize(domains, type) ⇒ Checker
constructor
A new instance of Checker.
- #test ⇒ Object
Constructor Details
#initialize(domains, type) ⇒ Checker
Returns a new instance of Checker.
3 4 5 6 7 |
# File 'lib/chkex/checker.rb', line 3 def initialize(domains, type) @results = { success: {}, errors: {} } @domains = FileHandler.read_list(domains) @type = type end |