createdInstance
A method run whenever a new instance has been saved to the data source. Updates the instance with response data.
connection.createdInstance( instance, props )
createdInstance
is run whenever a new instance is saved to the data source. This implementation updates the
instance with the data returned by createData which made the request to save the raw
instance data.
Parameters
- instance
{Instance}
:the instance that was created
- props
{Object}
:the data returned from createData that will update the properties of
instance