Class: ViewModel::ActiveRecord::UpdateOperation::ParentData

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#association_reflectionObject

Returns the value of attribute association_reflection

Returns:

  • (Object)

    the current value of association_reflection



11
12
13
# File 'lib/view_model/active_record/update_operation.rb', line 11

def association_reflection
  @association_reflection
end

#viewmodelObject

Returns the value of attribute viewmodel

Returns:

  • (Object)

    the current value of viewmodel



11
12
13
# File 'lib/view_model/active_record/update_operation.rb', line 11

def viewmodel
  @viewmodel
end