Module: Shrine::Plugins::RemoveInvalid

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

Overview

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

Defined Under Namespace

Modules: AttacherMethods

Class Method Summary collapse

Class Method Details

.load_dependencies(uploader) ⇒ Object


7
8
9
# File 'lib/shrine/plugins/remove_invalid.rb', line 7

def self.load_dependencies(uploader)
  uploader.plugin :validation
end