module Shrine::Plugins::UrlOptions

  1. lib/shrine/plugins/url_options.rb

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

Methods

Public Class

  1. configure

Public Class methods

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