http_only=(val)
Sets whether the Cookie is an HTTP only cookie or not.
# File actionpack/lib/action_controller/cgi_ext/cookie.rb, line 64 def http_only=(val) @http_only = val == true end