Sha256: efd5c98b253a02622a36b42b466ff1131b34439ed8e7a348ee811c8a02b7b7b2
Contents?: true
Size: 221 Bytes
Versions: 5
Compression:
Stored size: 221 Bytes
Contents
module Thermos class RebuildCacheJob < ActiveJob::Base def perform(key, id) beverage = BeverageStorage.instance.get_beverage(key) Rails.cache.write([key, id], beverage.action.call(id)) end end end
Version data entries
5 entries across 5 versions & 1 rubygems