parent
860e2b0fe2
commit
ae7c12552a
|
@ -399,8 +399,8 @@ module.exports = function(registry) {
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enable remote invocation for the method with the given name.
|
* Enable remote invocation for the specified method.
|
||||||
* See [Defining remote methods](http://docs.strongloop.com/display/LB/Defining+remote+methods) for more information.
|
* See [Remote methods](http://docs.strongloop.com/display/LB/Remote+methods) for more information.
|
||||||
*
|
*
|
||||||
* Static method example:
|
* Static method example:
|
||||||
* ```js
|
* ```js
|
||||||
|
@ -410,6 +410,7 @@ module.exports = function(registry) {
|
||||||
*
|
*
|
||||||
* @param {String} name The name of the method.
|
* @param {String} name The name of the method.
|
||||||
* @param {Object} options The remoting options.
|
* @param {Object} options The remoting options.
|
||||||
|
* See [Remote methods - Options](http://docs.strongloop.com/display/LB/Remote+methods#Remotemethods-Options).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Model.remoteMethod = function(name, options) {
|
Model.remoteMethod = function(name, options) {
|
||||||
|
|
Loading…
Reference in New Issue