module Shrine::Plugins::PrettyLocation

  1. lib/shrine/plugins/pretty_location.rb

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

Methods

Public Class

  1. configure

Public Class methods

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