Class: ViewModel::Callbacks::DeserializeHookControl

Inherits:
Struct
  • Object
show all
Defined in:
lib/view_model/callbacks.rb

Overview

Record changes made in the deserialization block so that they can be provided to the AfterDeserialize hook.

Instance Attribute Summary collapse

Instance Attribute Details

#changesObject

Returns the value of attribute changes

Returns:

  • (Object)

    the current value of changes



196
197
198
# File 'lib/view_model/callbacks.rb', line 196

def changes
  @changes
end