Sha256: ceefe8dc7f6db2f31a2ddc31245b63fa29ed221cc955a2071c9cf887427f0f93

Contents?: true

Size: 256 Bytes

Versions: 1

Compression:

Stored size: 256 Bytes

Contents

module SidekiqUniqueJobs
  module Connectors
    class Testing
      def self.connection(_redis_pool = nil)
        return unless SidekiqUniqueJobs.config.testing_enabled?
        yield SidekiqUniqueJobs.redis_mock
        true
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-3.0.11 lib/sidekiq_unique_jobs/connectors/testing.rb