module Shrine::Plugins::Processing::ClassMethods

  1. lib/shrine/plugins/processing.rb

Methods

Public Instance

  1. process

Public Instance methods

process (action, &block)
[show source]
# File lib/shrine/plugins/processing.rb, line 58
def process(action, &block)
  opts[:processing][action] ||= []
  opts[:processing][action] << block
end