* Renamed stuff related to display_ad_events (except the model) * Updated user billboard_events association spec * Fixed display_ad_event factory
10 lines
205 B
Ruby
10 lines
205 B
Ruby
class BillboardEventRollupWorker
|
|
include Sidekiq::Worker
|
|
|
|
sidekiq_options queue: :low_priority
|
|
|
|
def perform
|
|
month_ago = Date.current - 32.days
|
|
BillboardEventRollup.rollup month_ago
|
|
end
|
|
end
|