class Sidekiq::CurrentAttributes::Save
def call(_, job, _, _)
def call(_, job, _, _) attrs = @klass.attributes if job.has_key?("cattr") job["cattr"].merge!(attrs) else job["cattr"] = attrs end yield end
def initialize(cattr)
def initialize(cattr) @klass = cattr end