Skip to content
This repository has been archived by the owner on Nov 3, 2019. It is now read-only.

shrinerb/shrine-memory

Repository files navigation

Shrine::Storage::Memory

Provides in-memory storage for Shrine.

This storage has been merged into the shrine gem in version 3.0.0.

Installation

gem "shrine-memory"

Usage

require "shrine/storage/memory"

Shrine.storages[:cache] = Shrine::Storage::Memory.new

Inspiration

This gem was inspired by refile-memory.

License

MIT