Shrine::Storage::Memory
Provides in-memory storage for Shrine.
This storage shouldn't be used in production, but it is handy to use in tests.
Installation
gem "shrine-memory"
Usage
require "shrine/storage/memory"
Shrine.storages[:cache] = Shrine::Storage::Memory.new
Inspiration
This gem was inspired by refile-memory.