deployd / docs

documentation for deployd
http://docs.deployd.com
29 stars 30 forks source link

Internal Client not exposing resources #1

Closed simonds closed 11 years ago

simonds commented 11 years ago

Using the example in the docs:

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.

simonds commented 11 years ago

Wrong repo. Reposted to deployd/deployd