Sha256: 01a32ab1f5d3a92a8da7efb61e315b27aeaf9cbb306739afece0537dcdbade53

Contents?: true

Size: 184 Bytes

Versions: 16

Compression:

Stored size: 184 Bytes

Contents

module Apartment::Sidekiq::Middleware
  class Server
    def call(worker_class, item, queue)
      Penthouse.router.switch(item['tenant']) do
        yield
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
penthouse-0.9.0 lib/penthouse/sidekiq/middleware/server.rb
penthouse-0.8.0 lib/penthouse/sidekiq/middleware/server.rb
penthouse-0.7.5 lib/penthouse/sidekiq/middleware/server.rb
penthouse-0.7.4 lib/penthouse/sidekiq/middleware/server.rb
penthouse-0.7.3 lib/penthouse/sidekiq/middleware/server.rb
penthouse-0.7.2 lib/penthouse/sidekiq/middleware/server.rb
penthouse-0.7.1 lib/penthouse/sidekiq/middleware/server.rb
penthouse-0.7.0 lib/penthouse/sidekiq/middleware/server.rb
penthouse-0.6.0 lib/penthouse/sidekiq/middleware/server.rb
penthouse-0.5.0 lib/penthouse/sidekiq/middleware/server.rb
penthouse-0.4.2 lib/penthouse/sidekiq/middleware/server.rb
penthouse-0.4.1 lib/penthouse/sidekiq/middleware/server.rb
penthouse-0.4.0 lib/penthouse/sidekiq/middleware/server.rb
penthouse-0.3.0 lib/penthouse/sidekiq/middleware/server.rb
penthouse-0.2.0 lib/penthouse/sidekiq/middleware/server.rb
penthouse-0.1.0 lib/penthouse/sidekiq/middleware/server.rb