module NewRelic::Agent::Instrumentation::DelayedJob::Prepend

Public Class Methods

new(*args) click to toggle source
Calls superclass method
# File lib/new_relic/agent/instrumentation/delayed_job/prepend.rb, line 14
def initialize(*args)
  initialize_with_tracing { super }
end

Public Instance Methods

install_newrelic_job_tracer() click to toggle source
# File lib/new_relic/agent/instrumentation/delayed_job/prepend.rb, line 18
def install_newrelic_job_tracer
  Delayed::Job.send(:prepend, ::NewRelic::Agent::Instrumentation::DelayedJobTracerPrepend)
end