Module: Shrine::Plugins::DynamicStorage

Defined in:
lib/shrine/plugins/dynamic_storage.rb

Overview

Documentation can be found on shrinerb.com/docs/plugins/dynamic_storage

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.configure(uploader) ⇒ Object


7
8
9
# File 'lib/shrine/plugins/dynamic_storage.rb', line 7

def self.configure(uploader)
  uploader.opts[:dynamic_storage] ||= { resolvers: {} }
end