Class: Cloud

Parse.Cloud

Methods

(static) run(name, data, options) → {Parse.Promise}

Makes a call to a cloud function.
Parameters:
Name Type Description
name String The function name.
data Object The parameters to send to the cloud function.
options Object A Backbone-style options object options.success, if set, should be a function to handle a successful call to a cloud function. options.error should be a function that handles an error running the cloud function. Both functions are optional. Both functions take a single argument.
Returns:
A promise that will be resolved with the result of the function.
Type
Parse.Promise