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