mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-04-27 14:57:46 +00:00
Edit rdoc.
This commit is contained in:
parent
a3a1acfee2
commit
19901a9d9c
1 changed files with 4 additions and 4 deletions
|
|
@ -392,7 +392,7 @@ class HTTP::Cookie
|
||||||
# Returns the domain attribute value as a DomainName object.
|
# Returns the domain attribute value as a DomainName object.
|
||||||
attr_reader :domain_name
|
attr_reader :domain_name
|
||||||
|
|
||||||
# The domain flag.
|
# The domain flag. (the opposite of host-only-flag)
|
||||||
#
|
#
|
||||||
# If this flag is true, this cookie will be sent to any host in the
|
# If this flag is true, this cookie will be sent to any host in the
|
||||||
# \#domain, including the host domain itself. If it is false, this
|
# \#domain, including the host domain itself. If it is false, this
|
||||||
|
|
@ -423,20 +423,20 @@ class HTTP::Cookie
|
||||||
@origin = origin
|
@origin = origin
|
||||||
end
|
end
|
||||||
|
|
||||||
# The secure flag.
|
# The secure flag. (secure-only-flag)
|
||||||
#
|
#
|
||||||
# A cookie with this flag on should only be sent via a secure
|
# A cookie with this flag on should only be sent via a secure
|
||||||
# protocol like HTTPS.
|
# protocol like HTTPS.
|
||||||
attr_accessor :secure
|
attr_accessor :secure
|
||||||
alias secure? secure
|
alias secure? secure
|
||||||
|
|
||||||
# The HttpOnly flag.
|
# The HttpOnly flag. (http-only-flag)
|
||||||
#
|
#
|
||||||
# A cookie with this flag on should be hidden from a client script.
|
# A cookie with this flag on should be hidden from a client script.
|
||||||
attr_accessor :httponly
|
attr_accessor :httponly
|
||||||
alias httponly? httponly
|
alias httponly? httponly
|
||||||
|
|
||||||
# The session flag.
|
# The session flag. (the opposite of persistent-flag)
|
||||||
#
|
#
|
||||||
# A cookie with this flag on should be hidden from a client script.
|
# A cookie with this flag on should be hidden from a client script.
|
||||||
attr_reader :session
|
attr_reader :session
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue