mirror of
https://github.com/Evolix/chexpire.git
synced 2024-06-25 10:41:00 +02:00
Jérémy Lecour
815471da76
It's better to redure coupling between these classes and Rails. It gives liberty to provide configuration and other parameters depending on the context.
23 lines
360 B
Ruby
23 lines
360 B
Ruby
# Copyright (C) 2018 Colin Darie <colin@darie.eu>, 2018 Evolix <info@evolix.fr>
|
|
# License: GNU AGPL-3+ (see full text in LICENSE file)
|
|
|
|
class CheckSSLProcessor
|
|
include CheckProcessor
|
|
|
|
protected
|
|
|
|
def resolvers
|
|
%i[
|
|
resolve_all
|
|
]
|
|
end
|
|
|
|
def scope
|
|
base_scope.ssl
|
|
end
|
|
|
|
def process(check)
|
|
SSLSyncJob.perform_now(check.id)
|
|
end
|
|
end
|