Class: CustomerWatchWorker

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Job
Defined in:
app/workers/customer_watch_worker.rb

Instance Method Summary collapse

Instance Method Details

#perform(options = {}) ⇒ Object



6
7
8
9
# File 'app/workers/customer_watch_worker.rb', line 6

def perform(options = {})
  options = options.with_indifferent_access
  Customer::Watch.new.process(employee_id: options[:employee_id].presence)
end