Sha256: 832a3bc9bebac5936923ba1977299223833aa55420463ef45b77cc8e1ad621b0

Contents?: true

Size: 218 Bytes

Versions: 2

Compression:

Stored size: 218 Bytes

Contents

# frozen_string_literal: true

module Warden::Mixins::Common
  def request
    env['jets.controller'].request
  end

  def reset_session!
    request.reset_session
  end

  def cookies
    request.cookie_jar
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kingsman-0.1.1 lib/kingsman/jets/warden_compat.rb
kingsman-0.1.0 lib/kingsman/jets/warden_compat.rb