Class: CustomerWatchWorker

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

Overview

Sidekiq worker: customer watch.

Instance Method Summary collapse

Instance Method Details

#perform(options = {}) ⇒ Object



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

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