module Shrine::Plugins::UploadOptions

  1. lib/shrine/plugins/upload_options.rb

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

Methods

Public Class

  1. configure

Public Class methods

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