Class: ActiveModel::Serializer::BelongsToReflection Private
- Inherits:
-
Reflection
- Object
- Struct
- Field
- Reflection
- ActiveModel::Serializer::BelongsToReflection
- 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
Attributes inherited from Field
Instance Method Summary collapse
- #foreign_key_on ⇒ Object private
Methods inherited from Reflection
#build_association, #collection?, #include_data, #include_data?, #initialize, #link, #meta, #value
Methods inherited from Field
#excluded?, #initialize, #value
Constructor Details
This class inherits a constructor from ActiveModel::Serializer::Reflection
Instance Method Details
#foreign_key_on ⇒ Object
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.
8 9 10 |
# File 'lib/active_model/serializer/belongs_to_reflection.rb', line 8 def foreign_key_on :self end |