Sha256: afd42e9233183d74c23dbc8496685ea4dc442b48bb90e04660350b0d1b9b51af
Contents?: true
Size: 308 Bytes
Versions: 8
Compression:
Stored size: 308 Bytes
Contents
class ModelWorker include Sidekiq::Worker include ContextualizedLogs::ContextualizedWorker contextualize_worker true contextualize_model true def self.contextualize_args(args) { model_id: args.first, action: args.last } end def perform(model_id, action) Model.find(model_id) end end
Version data entries
8 entries across 8 versions & 1 rubygems