class ActiveSupport::Cache::WriteOptions
Public instance methods
Source code GitHub
# File activesupport/lib/active_support/cache.rb, line 1097
def expires_at
@options[:expires_at]
end
Source code GitHub
# File activesupport/lib/active_support/cache.rb, line 1101
def expires_at=(expires_at)
@options.delete(:expires_in)
@options[:expires_at] = expires_at
end
Source code GitHub
# File activesupport/lib/active_support/cache.rb, line 1088
def expires_in
@options[:expires_in]
end
Source code GitHub
# File activesupport/lib/active_support/cache.rb, line 1092
def expires_in=(expires_in)
@options.delete(:expires_at)
@options[:expires_in] = expires_in
end
Source code GitHub
# File activesupport/lib/active_support/cache.rb, line 1080
def version
@options[:version]
end
Source code GitHub
# File activesupport/lib/active_support/cache.rb, line 1084
def version=(version)
@options[:version] = version
end