From 68a610f8f3edf5bbf4999585435b4a521d7f975d Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sat, 12 Dec 2009 11:45:43 +0100 Subject: update POD --- lib/AnyEvent/Riak.pm | 21 ++++++++++++++++++--- 1 file 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 Efranck.cuny {at} rtgi.frE +franck cuny Efranck@lumberjaph.netE =head1 SEE ALSO =head1 LICENSE +Copyright 2009 by linkfluence. + +L + This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. -- cgit 1.4.1