Class: ViewModel::ActiveRecord::UpdateOperation::ParentData
- Inherits:
-
Struct
- Object
- Struct
- ViewModel::ActiveRecord::UpdateOperation::ParentData
- Defined in:
- lib/view_model/active_record/update_operation.rb
Overview
inverse association and record to update a change in parent from a child
Instance Attribute Summary collapse
-
#association_reflection ⇒ Object
Returns the value of attribute association_reflection.
-
#viewmodel ⇒ Object
Returns the value of attribute viewmodel.
Instance Attribute Details
#association_reflection ⇒ Object
Returns the value of attribute association_reflection
9 10 11 |
# File 'lib/view_model/active_record/update_operation.rb', line 9 def association_reflection @association_reflection end |
#viewmodel ⇒ Object
Returns the value of attribute viewmodel
9 10 11 |
# File 'lib/view_model/active_record/update_operation.rb', line 9 def viewmodel @viewmodel end |