renew

renew(sec_or_renewer)
Instance Public methods

Reset the expiry time according to sec_or_renewer.

nil

it is set to expire in the far future.

true

it has expired.

Numeric

it will expire in that many seconds.

Otherwise the argument refers to some kind of renewer object which will reset its expiry time.

doc_ruby_on_rails
2015-05-08 09:50:13
Comments
Leave a Comment

Please login to continue.