Sha256: 6b6003a4980b5085acdc6a9331176229facd52ecdd007cbf6dd1087c868fe10f
Contents?: true
Size: 311 Bytes
Versions: 13
Compression:
Stored size: 311 Bytes
Contents
require 'rhoconnect/middleware/helpers' module Rhoconnect module Middleware class CurrentUser def initialize(app) @app = app end def call(env) env[Rhoconnect::CURRENT_USER] = Rhoconnect.extract_current_user(env) @app.call(env) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems