You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

xmpp_worker.rb 261B

123456789101112131415161718
  1. class XMPPWorker < CheckWorker
  2. sidekiq_options retry: false
  3. protected
  4. def analyze(host)
  5. CryptCheck::Tls::Xmpp.analyze_domain host
  6. end
  7. def type
  8. :xmpp
  9. end
  10. def to_json(server)
  11. result = super
  12. result[:required] = server.required?
  13. result
  14. end
  15. end