summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2009-12-12 11:45:43 +0100
committerfranck cuny <franck@lumberjaph.net>2009-12-12 11:45:43 +0100
commit68a610f8f3edf5bbf4999585435b4a521d7f975d (patch)
treee15d03dec2e91e30b962363b32c96f999a40ab24
parentadd some tests and update deps (diff)
downloadanyevent-riak-68a610f8f3edf5bbf4999585435b4a521d7f975d.tar.gz
update POD
-rw-r--r--lib/AnyEvent/Riak.pm21
1 files changed, 18 insertions, 3 deletions
diff --git a/lib/AnyEvent/Riak.pm b/lib/AnyEvent/Riak.pm
index 1b41c54..1812990 100644
--- a/lib/AnyEvent/Riak.pm
+++ b/lib/AnyEvent/Riak.pm
@@ -130,24 +130,39 @@ __END__
 
 =head1 NAME
 
-AnyEvent::Riak -
+AnyEvent::Riak - Non-blocking Riak client
 
 =head1 SYNOPSIS
 
   use AnyEvent::Riak;
 
+  my $riak = AnyEvent::Riak->new(
+    host => 'http://127.0.0.1:8098',
+    path => 'jiak',
+  );
+
+  my $buckets    = $riak->list_bucket('namespace')->recv;
+  my $new_bucket = $riak->set_bucket('foo', {allowed_fields => '*'})->recv;
+  my $store      = $riak->store({bucket => 'foo', key => 'bar', object => {baz => 1},link => []})->recv;
+  my $fetch      = $riak->fetch('foo', 'bar')->recv;
+  my $delete     = $riak->delete('foo', 'bar')->recv;
+
 =head1 DESCRIPTION
 
-AnyEvent::Riak is
+AnyEvent::Riak is a non-blocking riak client using anyevent.
 
 =head1 AUTHOR
 
-franck cuny E<lt>franck.cuny {at} rtgi.frE<gt>
+franck cuny E<lt>franck@lumberjaph.netE<gt>
 
 =head1 SEE ALSO
 
 =head1 LICENSE
 
+Copyright 2009 by linkfluence.
+
+L<http://linkfluence.net>
+
 This library is free software; you can redistribute it and/or modify
 it under the same terms as Perl itself.