21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-17 16:08:39 +02:00
chexpire/app/services/check_ssl_processor.rb

23 lines
360 B
Ruby
Raw Permalink Normal View History

# Copyright (C) 2018 Colin Darie <colin@darie.eu>, 2018 Evolix <info@evolix.fr>
# License: GNU AGPL-3+ (see full text in LICENSE file)
2018-07-02 17:21:08 +02:00
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