summary refs log tree commit diff
path: root/lib/AnyEvent/Riak
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AnyEvent/Riak')
-rw-r--r--lib/AnyEvent/Riak/Role/Client.pm12
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;