module Shrine::Plugins::Included

  1. lib/shrine/plugins/included.rb

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

Methods

Public Class

  1. configure

Public Class methods

configure(uploader, &block)
[show source]
   # File lib/shrine/plugins/included.rb
 7 def self.configure(uploader, &block)
 8   uploader.opts[:included] ||= {}
 9   uploader.opts[:included][:block] = block
10 end