class Sidekiq::CurrentAttributes::Save

def call(_, job, _, _)

def call(_, job, _, _)
  if !job.has_key?("cattr")
    attrs = @strklass.constantize.attributes
    # Retries can push the job N times, we don't
    # want retries to reset cattr. #5692, #5090
    job["cattr"] = attrs if attrs.any?
  end
  yield
end

def initialize(cattr)

def initialize(cattr)
  @strklass = cattr
end