Sha256: ecf34e9717f1b8c68c50c3ddfdca456c51327a930e11f084a03b490780d98405
Contents?: true
Size: 282 Bytes
Versions: 16
Compression:
Stored size: 282 Bytes
Contents
require 'action_dispatch/http/request' class SlackLogDevice class SetRequestInThread def initialize(app) @app = app end def call(env) Thread.current[:slack_log_device_request] = ActionDispatch::Request.new(env) @app.call(env) end end end
Version data entries
16 entries across 16 versions & 1 rubygems