module Shrine::Plugins::DefaultStorage

  1. lib/shrine/plugins/default_storage.rb

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

Methods

Public Class

  1. configure

Public Class methods

configure(uploader, **opts)
[show source]
   # File lib/shrine/plugins/default_storage.rb
 7 def self.configure(uploader, **opts)
 8   uploader.opts[:default_storage] ||= {}
 9   uploader.opts[:default_storage].merge!(opts)
10 end