Sha256: edf985ee8a4aa4c9675b5dfac83552784fdb07ebfa386da460fbe1b9a976c22a

Contents?: true

Size: 202 Bytes

Versions: 5

Compression:

Stored size: 202 Bytes

Contents

module CookieMonster
  module Rails
    private

    def cookie_monster
      @cookie_monster ||= CookieMonster::Jar.new(request: request, response: response, expires: 1.day.from_now)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cookie_monster-0.1.3 lib/cookie_monster/rails.rb
cookie_monster-0.1.2 lib/cookie_monster/rails.rb
cookie_monster-0.1.1 lib/cookie_monster/rails.rb
cookie_monster-0.0.1 lib/cookie_monster/rails.rb
cookie_monster-0.0.0 lib/cookie_monster/rails.rb