module Shrine::Plugins::DefaultUrl

  1. lib/shrine/plugins/default_url.rb

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

Methods

Public Class

  1. configure

Public Class methods

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