Module: Warden::Mixins::Common

Defined in:
lib/kingsman/jets/warden_compat.rb

Instance Method Summary collapse

Instance Method Details

#cookiesObject



12
13
14
# File 'lib/kingsman/jets/warden_compat.rb', line 12

def cookies
  request.cookie_jar
end

#requestObject



4
5
6
# File 'lib/kingsman/jets/warden_compat.rb', line 4

def request
  env['jets.controller'].request
end

#reset_session!Object



8
9
10
# File 'lib/kingsman/jets/warden_compat.rb', line 8

def reset_session!
  request.reset_session
end