Module: Shrine::Plugins::DefaultUrl::AttacherClassMethods

Defined in:
lib/shrine/plugins/default_url.rb

Instance Method Summary collapse

Instance Method Details

#default_url(&block) ⇒ Object


13
14
15
# File 'lib/shrine/plugins/default_url.rb', line 13

def default_url(&block)
  shrine_class.opts[:default_url][:block] = block
end