Class: ActiveModel::Serializer::BelongsToReflection Private

Inherits:
SingularReflection show all
Defined in:
lib/active_model/serializer/belongs_to_reflection.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary

Attributes inherited from Reflection

#name, #options

Instance Method Summary collapse

Methods inherited from Reflection

#build_association

Instance Method Details

#macroObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



5
6
7
# File 'lib/active_model/serializer/belongs_to_reflection.rb', line 5

def macro
  :belongs_to
end