Websites/app/jobs/update_external_cache_job.rb

10 lines
151 B
Ruby

# frozen_string_literal: true
class UpdateExternalCacheJob < ApplicationJob
queue_as :cache
def perform(image)
image.update_cache!
end
end