Module: Shrine::Plugins::StorageFromConfig
- Defined in:
- lib/shrine/plugins/storage_from_config.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.configure(uploader, opts = {}) ⇒ Object
9 10 11 |
# File 'lib/shrine/plugins/storage_from_config.rb', line 9 def self.configure(uploader, opts = {}) uploader.opts[:storage_settings] = opts.fetch(:settings, uploader.opts[:settings]) end |