method

expires_at=

rails latest stable - Class: ActiveSupport::Cache::Store::WriteOptions
expires_at=(expires_at)
public

Sets the Cache entry’s expires_at value. If an expires_in option was previously set, this will unset it since expires_at and expires_in cannot both be set.