Websites/app/jobs/update_external_cache_job.rb

10 lines
151 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class UpdateExternalCacheJob < ApplicationJob
2024-10-24 08:07:27 +00:00
queue_as :cache
def perform(image)
image.update_cache!
end
end