Module: SwitchmanInstJobs::NewRelic

Defined in:
lib/switchman_inst_jobs/new_relic.rb

Defined Under Namespace

Modules: FixNewRelicDelayedJobs

Class Method Summary collapse

Class Method Details

.enableObject


24
25
26
27
28
# File 'lib/switchman_inst_jobs/new_relic.rb', line 24

def self.enable
  return unless defined?(::NewRelic)

  ::Delayed::Worker.prepend FixNewRelicDelayedJobs
end