Sha256: 9d81652d54e65bf3911e0684515563225c1bb452950b89e842bacf195e72e282
Contents?: true
Size: 276 Bytes
Versions: 6
Compression:
Stored size: 276 Bytes
Contents
module DiviningRod class Rack def initialize(app) @app = app end def call(env) request = ::Rack::Request.new(env) profile = DiviningRod::Profile.new(request) env['divining_rod.profile'] = profile @app.call(env) end end end
Version data entries
6 entries across 6 versions & 1 rubygems