module Shrine::Plugins::DefaultUrlOptions::FileMethods

  1. lib/shrine/plugins/default_url_options.rb

Methods

Public Instance

  1. url

Public Instance methods

url (**options)
[show source]
# File lib/shrine/plugins/default_url_options.rb, line 25
def url(**options)
  default_options   = default_url_options
  default_options   = default_options.call(self, **options) if default_options.respond_to?(:call)
  default_options ||= {}

  super(default_options.merge(options))
end