Sha256: fcdc15216c3f6bdbd1d76ad6177c050742bea4cceaee9710075e324581effb15
Contents?: true
Size: 294 Bytes
Versions: 33
Compression:
Stored size: 294 Bytes
Contents
module Clearance class RackSession def initialize(app) @app = app end def call(env) session = Clearance::Session.new(env) env[:clearance] = session response = @app.call(env) session.add_cookie_to_headers response[1] response end end end
Version data entries
33 entries across 33 versions & 1 rubygems