Sha256: 7b0b15bf5096896f8af71b5fa23c578b681d0d446ed21c42ee1cc7429a1c3fa1

Contents?: true

Size: 237 Bytes

Versions: 7

Compression:

Stored size: 237 Bytes

Contents

module Penthouse
  module Sidekiq
    module Middleware
      class Client
        def call(worker_class, item, queue, redis_pool=nil)
          item['tenant'] ||= Penthouse.tenant
          yield
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
penthouse-0.13.2 lib/penthouse/sidekiq/middleware/client.rb
penthouse-0.13.1 lib/penthouse/sidekiq/middleware/client.rb
penthouse-0.13 lib/penthouse/sidekiq/middleware/client.rb
penthouse-0.12.2 lib/penthouse/sidekiq/middleware/client.rb
penthouse-0.12.1 lib/penthouse/sidekiq/middleware/client.rb
penthouse-0.12.0 lib/penthouse/sidekiq/middleware/client.rb
penthouse-0.11.0 lib/penthouse/sidekiq/middleware/client.rb