Sha256: 77c8171d0c046176dc67109d6dd155fb4ae528cbec96c1de03bdecacc52c526f
Contents?: true
Size: 369 Bytes
Versions: 6
Compression:
Stored size: 369 Bytes
Contents
# frozen_string_literal: true module SidekiqUniqueJobs module Unlockable module_function def unlock(item) SidekiqUniqueJobs::UniqueArgs.digest(item) SidekiqUniqueJobs::Locksmith.new(item).unlock end def delete(item) SidekiqUniqueJobs::UniqueArgs.digest(item) SidekiqUniqueJobs::Locksmith.new(item).delete! end end end
Version data entries
6 entries across 6 versions & 1 rubygems