(config, auth, className, restObject, clientSDK, context)
| 265 | |
| 266 | // Returns a promise for a {response, status, location} object. |
| 267 | function create(config, auth, className, restObject, clientSDK, context) { |
| 268 | enforceRoleSecurity('create', className, auth, config); |
| 269 | var write = new RestWrite(config, auth, className, null, restObject, null, clientSDK, context); |
| 270 | return write.execute(); |
| 271 | } |
| 272 | |
| 273 | // Returns a promise that contains the fields of the update that the |
| 274 | // REST API is supposed to return. |
nothing calls this directly
no test coverage detected