Class: CustomerProfilingWorker
- Inherits:
-
Object
- Object
- CustomerProfilingWorker
- Includes:
- Sidekiq::Job
- Defined in:
- app/workers/customer_profiling_worker.rb
Overview
Sidekiq worker: customer profiling.
Instance Method Summary collapse
-
#perform(customer_ids = []) ⇒ Object
Runs the job.
Instance Method Details
#perform(customer_ids = []) ⇒ Object
Runs the job.
11 12 13 14 |
# File 'app/workers/customer_profiling_worker.rb', line 11 def perform(customer_ids = []) customer_ids = [customer_ids].flatten.compact Customer::UpdateProfileStats.new.process(customer_ids: customer_ids) end |