Class: CustomerProfilingWorker
- Inherits:
-
Object
- Object
- CustomerProfilingWorker
- Includes:
- Sidekiq::Job
- Defined in:
- app/workers/customer_profiling_worker.rb
Instance Method Summary collapse
Instance Method Details
#perform(customer_ids = []) ⇒ Object
6 7 8 9 |
# File 'app/workers/customer_profiling_worker.rb', line 6 def perform(customer_ids = []) customer_ids = [customer_ids].flatten.compact Customer::UpdateProfileStats.new.process(customer_ids: customer_ids) end |