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
11 12 13 |
# File 'lib/view_model/active_record/update_operation.rb', line 11 def association_reflection @association_reflection end |
#viewmodel ⇒ Object
Returns the value of attribute viewmodel
11 12 13 |
# File 'lib/view_model/active_record/update_operation.rb', line 11 def viewmodel @viewmodel end |