module Shrine::Plugins::DefaultUrlOptions

  1. lib/shrine/plugins/default_url_options.rb

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

Methods

Public Class

  1. configure

Public Class methods

configure (uploader, options = {})
[show source]
   # File lib/shrine/plugins/default_url_options.rb
 9 def self.configure(uploader, options = {})
10   uploader.opts[:default_url_options] ||= {}
11   uploader.opts[:default_url_options].merge!(options)
12 end