diff options
author | franck cuny <franck@lumberjaph.net> | 2010-05-11 09:22:53 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-05-11 09:22:53 +0200 |
commit | 6719d3da618c2e5b621f8bd4f5780b9de39714dd (patch) | |
tree | ea6bc20cdb6ca75602aebe4eda1532b08a809733 | |
parent | some roles (diff) | |
download | anyevent-riak-6719d3da618c2e5b621f8bd4f5780b9de39714dd.tar.gz |
add handles to _client
-rw-r--r-- | lib/AnyEvent/Riak/Role/Client.pm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/AnyEvent/Riak/Role/Client.pm b/lib/AnyEvent/Riak/Role/Client.pm new file mode 100644 index 0000000..0623e71 --- /dev/null +++ b/lib/AnyEvent/Riak/Role/Client.pm @@ -0,0 +1,12 @@ +package AnyEvent::Riak::Role::Client; + +use Moose::Role; + +has _client => ( + is => 'rw', + isa => 'AnyEvent::Riak', + required => 1, + handles => {host => 'host', client_id => 'client_id'} +); + +1; |