Sha256: 5fecc51c16e63a2656112fbbe3ce43703c6b6643f10bfa0e2db5b10a0d17c5df
Contents?: true
Size: 413 Bytes
Versions: 21
Compression:
Stored size: 413 Bytes
Contents
# frozen_string_literal: true module Karafka module Web # Proxy App that selects either Pro or regular app to handle the requests class App class << self # @param env [Hash] Rack env # @param block [Proc] Rack block def call(env, &block) handler = Karafka.pro? ? Ui::Pro::App : Ui::App handler.call(env, &block) end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems