summary refs log tree commit diff
path: root/lib/Net/Riak/Bucket.pm
diff options
context:
space:
mode:
authorGavin Carr <gavin@openfusion.com.au>2010-09-01 20:12:29 +0100
committerGavin Carr <gavin@openfusion.com.au>2010-09-01 20:12:29 +0100
commit2cb4dce5798add7d2958e915e6c679901ae153fb (patch)
treefd6d54b90c3c7d79a8db0e5c21d4c0d29a181e72 /lib/Net/Riak/Bucket.pm
parentallow Bucket::new_object to take additional args for Object::new (diff)
downloadnet-riak-2cb4dce5798add7d2958e915e6c679901ae153fb.tar.gz
minor perldoc tweaks to Bucket
Diffstat (limited to 'lib/Net/Riak/Bucket.pm')
-rw-r--r--lib/Net/Riak/Bucket.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Net/Riak/Bucket.pm b/lib/Net/Riak/Bucket.pm
index 2585668..95274f6 100644
--- a/lib/Net/Riak/Bucket.pm
+++ b/lib/Net/Riak/Bucket.pm
@@ -165,15 +165,15 @@ DW value setting for this client (default 2)
 
 =method new_object
 
-    my $obj = $bucket->new_object($key, $data);
+    my $obj = $bucket->new_object($key, $data, @args);
 
-Create a new L<Net::Riak::Object> object that will be stored as JSON.
+Create a new L<Net::Riak::Object> object. Additional Object constructor arguments can be passed after $data. If $data is a reference and no explicit Object content_type is given in @args, the data will be serialised and stored as JSON.
 
 =method get
 
     my $obj = $bucket->get($key, [$r]);
 
-Retrieve a JSON-encoded object from Riak
+Retrieve an object from Riak.
 
 =method n_val
 
@@ -191,7 +191,7 @@ If set to True, then writes with conflicting data will be stored and returned to
 
     my $keys = $bucket->get_keys;
 
-Return the list of keys for a bucket
+Return an arrayref of the list of keys for a bucket.
 
 =method set_property