module Shrine::Plugins::DeleteRaw

  1. lib/shrine/plugins/delete_raw.rb

Documentation lives in doc/plugins/delete_raw.md on GitHub.

Methods

Public Class

  1. configure

Public Class methods

configure (uploader, opts = {})
[show source]
   # File lib/shrine/plugins/delete_raw.rb
 9 def self.configure(uploader, opts = {})
10   uploader.opts[:delete_raw_storages] = opts.fetch(:storages, uploader.opts[:delete_raw_storages])
11 end