module Shrine::Plugins::MetadataAttributes::AttacherClassMethods

  1. lib/shrine/plugins/metadata_attributes.rb

Methods

Public Instance

  1. metadata_attributes

Public Instance methods

metadata_attributes (mappings)
[show source]
# File lib/shrine/plugins/metadata_attributes.rb, line 45
def metadata_attributes(mappings)
  shrine_class.opts[:metadata_attributes_mappings].merge!(mappings)
end