module Shrine::Plugins::PrettyLocation

  1. lib/shrine/plugins/pretty_location.rb

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

Methods

Public Class

  1. configure

Public Class methods

configure (uploader, opts = {})
[show source]
   # File lib/shrine/plugins/pretty_location.rb
 9 def self.configure(uploader, opts = {})
10   uploader.opts[:pretty_location_namespace] = opts.fetch(:namespace, uploader.opts[:pretty_location_namespace])
11 end