Module: Shrine::Plugins::MultiCache
- Defined in:
- lib/shrine/plugins/multi_cache.rb
Overview
Documentation can be found on shrinerb.com/docs/plugins/multi_cache
Defined Under Namespace
Modules: AttacherMethods
Class Method Summary collapse
Class Method Details
.configure(uploader, **opts) ⇒ Object
7 8 9 10 |
# File 'lib/shrine/plugins/multi_cache.rb', line 7 def self.configure(uploader, **opts) uploader.opts[:multi_cache] ||= {} uploader.opts[:multi_cache].merge!(opts) end |