cryptcheck-rails/app/workers/smtp_worker.rb

13 lines
162 B
Ruby

class SMTPWorker < CheckWorker
sidekiq_options retry: false
protected
def analyze(host)
CryptCheck::Tls::Smtp.analyze host
end
def type
:smtp
end
end