var internalClient = require('deployd/lib/internal-client');
var dpd = internalClient.build(server);
dpd.todos.get(function(data, err) {
// Do something...
});
Replacing "server" with "process.server" and "todos" with my resource name. This is the error that is returned:
TypeError: Cannot call method 'get' of undefined
Am I doing something wrong here? I'm a Node novice, btw.
Using the example in the docs:
Replacing "server" with "process.server" and "todos" with my resource name. This is the error that is returned:
Am I doing something wrong here? I'm a Node novice, btw.