method

expires_in=

rails latest stable - Class: ActiveSupport::Cache::WriteOptions

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

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.