module Shrine::Plugins::AddMetadata::FileMethods

  1. lib/shrine/plugins/add_metadata.rb

Methods

Public Instance

  1. add_metadata

Public Instance methods

add_metadata(new_metadata, &block)
[show source]
   # File lib/shrine/plugins/add_metadata.rb
68 def add_metadata(new_metadata, &block)
69   @metadata = @metadata.merge(new_metadata, &block)
70 end