method
expires_in=
v8.0.0 -
Show latest stable
- Class:
ActiveSupport::Cache::WriteOptions
expires_in=(expires_in)public
Sets the Cache entry’s expires_in value. If an expires_at option was previously set, this will unset it since expires_in and expires_at cannot both be set.