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
15 def metadata_attributes(mappings)
16   shrine_class.opts[:metadata_attributes_mappings].merge!(mappings)
17 end