Sha256: 4c19864483f9d31dabb2b012269a705dc27f98a63ae27d4652734108cea5a677
Contents?: true
Size: 517 Bytes
Versions: 38
Compression:
Stored size: 517 Bytes
Contents
module Appsignal class Hooks # @api private class DelayedJobHook < Appsignal::Hooks::Hook register :delayed_job def dependencies_present? defined?(::Delayed::Plugin) end def install # The DJ plugin is a subclass of Delayed::Plugin, so we can only # require this code if we're actually installing. require "appsignal/integrations/delayed_job_plugin" ::Delayed::Worker.plugins << Appsignal::Hooks::DelayedJobPlugin end end end end
Version data entries
38 entries across 38 versions & 1 rubygems