Sha256: 9bc364b6f70664427bc6e13d72e2f3b5baccf8b61f6c5021d7b4a18c3ae80274
Contents?: true
Size: 204 Bytes
Versions: 1
Compression:
Stored size: 204 Bytes
Contents
class OmniAuth::Test::PhonySession def initialize(app) @app = app end def call(env) @session ||= (env['rack.session'] || {}) env['rack.session'] = @session @app.call(env) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
omniauth-1.2.1 | lib/omniauth/test/phony_session.rb |