Permalink
Browse files

small doc update

  • Loading branch information...
1 parent b953437 commit 79483c61bddafa416a5feddcefbb48ac414b1a8f @jeremy-brenner committed Aug 28, 2012
Showing with 20 additions and 1 deletion.
  1. +20 −1 README.md
View
21 README.md
@@ -1,4 +1,23 @@
jcouchbase
==========
-Couchbase jruby wrapper gem
+Quick and dirty Couchbase jruby wrapper gem
+
+installation
+============
+
+gem install jcouchbase
+
+usage
+=====
+
+require 'couchbase'
+
+c = Couchbase.new('http://xocouch01.localcloud:8091/pools', 'default', 'secretpassword' )
+
+c.set( 'mykey', 0, { 'blah' => 'blarg', 'blip' => [ 'bloop', 'blorp', 'blop' ] } )
+
+p c['mykey']
+
+c.shutdown
+

0 comments on commit 79483c6

Please sign in to comment.