From 49e6abd18baaddb9d10d760b17f9c4dc8ea220d7 Mon Sep 17 00:00:00 2001 From: Gus Date: Thu, 22 Nov 2012 00:34:19 +0100 Subject: [PATCH] Update README.md --- README.md | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 8857097..98e3177 100644 --- a/README.md +++ b/README.md @@ -64,35 +64,27 @@ dunkel.save(function (err) { ## Documentation -### syncr(sync) +### syncr(syncMethod) -__sync(method, obj, callback)__ +### model.extend(config) -__methods__ +### model.create(properties) -* 'create' -* 'update' -* 'fetch' -* 'destroy' -* 'find' +### _model_.validate() -### model.extend(config) +### _model_.save(callback) -__config__ +### _model_.fetch(callback) -* defaults -* rules -* children - -### model.create(properties) +### _model_.destroy(callback) -### _modelInstance_.validate() +### collection.extend(config) -### _modelInstance_.save(callback) +### collection.create(propertiesList) -### _modelInstance_.fetch(callback) +### _collection_.validate() -### _modelInstance_.destroy(callback) +### _collection_.find(callback) ## License Copyright (c) 2012 August Hovland