destroyedInstance
A method run whenever an instance has been deleted from the data source. Overwrites the instance with response data.
connection.destroyedInstance( instance, props )
destroyedInstance
is run whenever an existing instance is deleted from the data source. This implementation
overwrites the instance with the data returned by destroyData which made the request to
delete the raw instance data.
Parameters
- instance
{Instance}
:the instance that was deleted
- props
{Object}
:the data returned from destroyData that will overwrite the properties of
instance