method

new

new(app, options = {})
public

Create a new store. The cache to use can be passed in the :cache option. If it is not specified, Rails.cache will be used.