mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +00:00
Add expires_at as alias for expires.
This commit is contained in:
parent
ae0b3834e7
commit
f04714741f
1 changed files with 3 additions and 0 deletions
|
|
@ -473,6 +473,9 @@ class HTTP::Cookie
|
|||
@expires = t
|
||||
end
|
||||
|
||||
alias expires_at expires
|
||||
alias expires_at= expires=
|
||||
|
||||
attr_reader :max_age
|
||||
|
||||
# See #max_age.
|
||||
|
|
|
|||
Loading…
Reference in a new issue