Class: CleanCompactRestaurantCacheWorker
- Inherits:
-
ApplicationWorker
- Object
- ApplicationWorker
- CleanCompactRestaurantCacheWorker
- Defined in:
- app/workers/clean_compact_restaurant_cache_worker.rb
Overview
typed: ignore frozen_string_literal: true
Instance Method Summary collapse
Methods inherited from ApplicationWorker
Instance Method Details
#perform(restaurant_id) ⇒ Object
7 8 9 10 11 |
# File 'app/workers/clean_compact_restaurant_cache_worker.rb', line 7 def perform(restaurant_id) worker = GenerateCompactRestaurantsWorker.new worker.skip_cache = true worker.perform restaurant_id end |