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



194
195
196
# File 'lib/view_model/callbacks.rb', line 194

def changes
  @changes
end