diff options
Diffstat (limited to 'node_modules/forever/node_modules/cliff/examples/put-object.js')
| -rw-r--r-- | node_modules/forever/node_modules/cliff/examples/put-object.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/node_modules/forever/node_modules/cliff/examples/put-object.js b/node_modules/forever/node_modules/cliff/examples/put-object.js new file mode 100644 index 0000000..7821514 --- /dev/null +++ b/node_modules/forever/node_modules/cliff/examples/put-object.js @@ -0,0 +1,24 @@ +/* + * put-object.js: Example usage for `cliff.putObject`. + * + * (C) 2010, Nodejitsu Inc. + * + */ + +var cliff = require('../lib/cliff'); + +cliff.putObject({ + literal: "bazz", + arr: [ + "one", + 2, + ], + obj: { + host: "localhost", + port: 5984, + auth: { + username: "admin", + password: "password" + } + } +});
\ No newline at end of file |
