Class: ColumnsTrace::SidekiqMiddleware

Inherits:
Object
  • Object
show all
Defined in:
lib/columns_trace/sidekiq_integration.rb

Instance Method Summary collapse

Instance Method Details

#call(worker, _job, _queue, &block) ⇒ Object



6
7
8
# File 'lib/columns_trace/sidekiq_integration.rb', line 6

def call(worker, _job, _queue, &block)
  ColumnsTrace.report("#{worker.class.name}#perform", &block)
end