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
Instance Method Details
#perform(customer_ids = []) ⇒ Object
7 8 9 10 |
# File 'app/workers/customer_profiling_worker.rb', line 7 def perform(customer_ids = []) customer_ids = [customer_ids].flatten.compact Customer::UpdateProfileStats.new.process(customer_ids: customer_ids) end |