module Shrine::Plugins::AddMetadata

  1. lib/shrine/plugins/add_metadata.rb

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

Methods

Public Class

  1. configure

Public Class methods

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