Class: Workarea::CleanProductRecommendations
- Inherits:
-
Object
- Object
- Workarea::CleanProductRecommendations
- Includes:
- Sidekiq::CallbacksWorker, Sidekiq::Worker
- Defined in:
- app/workers/workarea/clean_product_recommendations.rb
Instance Method Summary collapse
Instance Method Details
#perform(id) ⇒ Object
8 9 10 11 |
# File 'app/workers/workarea/clean_product_recommendations.rb', line 8 def perform(id) predictor = Recommendation::ProductPredictor.new predictor.delete_item!(id) end |