docs(resource): clarify success callback arguments

Closes #7730
This commit is contained in:
Martin Staffa
2015-06-16 19:50:42 +02:00
parent 3adfe5bda9
commit 720012eab6
+2 -1
View File
@@ -209,7 +209,8 @@ function shallowClearAndCopy(src, dst) {
* - non-GET instance actions: `instance.$action([parameters], [success], [error])`
*
*
* Success callback is called with (value, responseHeaders) arguments. Error callback is called
* Success callback is called with (value, responseHeaders) arguments, where the value is
* the populated resource instance or collection object. The error callback is called
* with (httpResponse) argument.
*
* Class actions return empty instance (with additional properties below).