Flowdock
method

build

Importance_0
v3.0.9 - Show latest stable - 0 notes - Class: ActionDispatch::Cookies::CookieJar
build(request) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/cookies.rb, line 105
      def self.build(request)
        secret = request.env[TOKEN_KEY]
        host = request.host
        secure = request.ssl?

        new(secret, host, secure).tap do |hash|
          hash.update(request.cookies)
        end
      end
Register or log in to add new notes.