loopback/node_modules/resource/example/example.js

12 lines
256 B
JavaScript

/**
* A generated `Resource` example...
*
* Examples should show a working module api
* and be used in tests to continously check
* they function as expected.
*/
var Resource = require('../');
var resource = Resource.create();
resource.myMethod();