Parent

Methods

OmniAuth::Test::PhonySession

Public Class Methods

new(app) click to toggle source
# File lib/omniauth/test/phony_session.rb, line 4
def initialize(app)
  @app = app
end

Public Instance Methods

call(env) click to toggle source
# File lib/omniauth/test/phony_session.rb, line 8
def call(env)
  @session ||= (env['rack.session'] || {})
  env['rack.session'] = @session
  @app.call(env)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.