shrinerb / shrine-memory

[MERGED] In-memory storage for Shrine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

[MERGED] In-memory storage for Shrine

License:MIT License


Languages

Language:Ruby 100.0%