Method: Rack::MockSession#set_cookie

Defined in:
lib/rack/mock_session.rb

23
24
25
# File 'lib/rack/mock_session.rb', line 23

def set_cookie(cookie, uri = nil)
  cookie_jar.merge(cookie, uri)
end