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