Sha256: 075c33e1386b393b17c0938739635a4b9c41d56de35e15bd3bf9d7aa422d4ef7
Contents?: true
Size: 429 Bytes
Versions: 15
Compression:
Stored size: 429 Bytes
Contents
# frozen_string_literal: true module Kiev module Shoryuken module Middleware class TreePathSuffix def initialize(tag) @tag = tag.dup.freeze end def call(_worker, _queue, _message, _body) request_store = Kiev::RequestStore.store request_store[:tree_path] ||= "" request_store[:tree_path] += @tag yield end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems