Documentation can be found on shrinerb.com/docs/plugins/form_assign
Classes and Modules
Public Class methods
configure(uploader, **opts)
[show source]
# File lib/shrine/plugins/form_assign.rb 11 def self.configure(uploader, **opts) 12 uploader.opts[:form_assign] ||= { result: :params } 13 uploader.opts[:form_assign].merge!(opts) 14 end
load_dependencies(uploader)
[show source]
# File lib/shrine/plugins/form_assign.rb 7 def self.load_dependencies(uploader) 8 uploader.plugin :entity 9 end