Module: Shrine::Plugins::DeleteRaw

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

Overview

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

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.configure(uploader, **opts) ⇒ Object


9
10
11
12
# File 'lib/shrine/plugins/delete_raw.rb', line 9

def self.configure(uploader, **opts)
  uploader.opts[:delete_raw] ||= {}
  uploader.opts[:delete_raw].merge!(opts)
end