class ActiveSupport::Cache::Entry
def initialize(value, compressed: false, version: nil, expires_in: nil, expires_at: nil, **)
Creates a new cache entry for the specified value. Options supported are
def initialize(value, compressed: false, version: nil, expires_in: nil, expires_at: nil, **) @value = value @version = version @created_at = 0.0 @expires_in = expires_at&.to_f || expires_in && (expires_in.to_f + Time.now.to_f) @compressed = true if compressed end