Module: Shrine::Plugins::PrettyLocation
- Defined in:
- lib/shrine/plugins/pretty_location.rb
Overview
Documentation can be found on shrinerb.com/docs/plugins/pretty_location
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.configure(uploader, **opts) ⇒ Object
7 8 9 10 |
# File 'lib/shrine/plugins/pretty_location.rb', line 7 def self.configure(uploader, **opts) uploader.opts[:pretty_location] ||= { identifier: :id } uploader.opts[:pretty_location].merge!(opts) end |