ss.responders.add(require('ss-backbone'));
myModel = syncedModel.extend( {}, {modelname: "myModel"} );
myCollection = syncedCollection.extend( {model: myModel}, {modelname: "myModel"} )
module.exports = function(ss) {
return {
create: function(msg, meta, send) {
#do stuff
},
update: function(msg, meta, send) {
#do stuff
},
read: function(msg, meta, send) {
#do stuff
},
delete: function(msg, meta, send) {
#do stuff
}
}
}