docbrown/app/workers/users/bust_cache_worker.rb
2020-12-30 10:07:42 -05:00

10 lines
204 B
Ruby

module Users
class BustCacheWorker < BustCacheBaseWorker
def perform(user_id)
user = User.find_by(id: user_id)
return unless user
EdgeCache::BustUser.call(user)
end
end
end