class ActiveSupport::Cache::WriteOptions

instance of WriteOptions.
ActiveSupport::Cache::Store#fetch, the second argument will be an
that conflicting options are not both set. When a block is given to
Enables the dynamic configuration of Cache entry options while ensuring

def expires_at

def expires_at
  @options[:expires_at]
end

def expires_at=(expires_at)

cannot both be set.
previously set, this will unset it since +expires_at+ and +expires_in+
Sets the Cache entry's +expires_at+ value. If an +expires_in+ option was
def expires_at=(expires_at)
  @options.delete(:expires_in)
  @options[:expires_at] = expires_at
end

def expires_in

def expires_in
  @options[:expires_in]
end

def expires_in=(expires_in)

cannot both be set.
previously set, this will unset it since +expires_in+ and +expires_at+
Sets the Cache entry's +expires_in+ value. If an +expires_at+ option was
def expires_in=(expires_in)
  @options.delete(:expires_at)
  @options[:expires_in] = expires_in
end

def initialize(options) # :nodoc:

:nodoc:
def initialize(options) # :nodoc:
  @options = options
end

def version

def version
  @options[:version]
end

def version=(version)

def version=(version)
  @options[:version] = version
end