Class: ActiveShrine::Reflection::HasOneAttachedReflection

Inherits:
HasAttachedReflection
  • Object
show all
Defined in:
lib/active_shrine/reflection.rb

Overview

Holds all the metadata about a has_one_attached attachment as it was specified in the Active Record class.

Instance Method Summary collapse

Instance Method Details

#macroObject

:nodoc:



18
19
20
# File 'lib/active_shrine/reflection.rb', line 18

def macro
  :has_one_attached
end