Module: ActiveShrine::Reflection::ReflectionExtension

Defined in:
lib/active_shrine/reflection.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#add_shrine_attachment_reflection(model, name, reflection) ⇒ Object



32
33
34
# File 'lib/active_shrine/reflection.rb', line 32

def add_shrine_attachment_reflection(model, name, reflection)
  model.shrine_attachment_reflections[name.to_s] = reflection
end