Class: ViewModel::ActiveRecord::FunctionalUpdate::Remove

Inherits:
Object
  • Object
show all
Defined in:
lib/view_model/active_record/update_data.rb

Constant Summary collapse

NAME =
'remove'

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(removed_vm_refs) ⇒ Remove

Returns a new instance of Remove.



46
47
48
# File 'lib/view_model/active_record/update_data.rb', line 46

def initialize(removed_vm_refs)
  @removed_vm_refs = removed_vm_refs
end

Instance Attribute Details

#removed_vm_refsObject (readonly)

Returns the value of attribute removed_vm_refs.



44
45
46
# File 'lib/view_model/active_record/update_data.rb', line 44

def removed_vm_refs
  @removed_vm_refs
end