diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-06-16 13:32:54 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-06-16 13:32:54 +0200 |
| commit | 8093f1bc8a54c4f205460d4fbc1706f45bb6a195 (patch) | |
| tree | 89837da677b706006742ed2559d9870ed8faf42a /lib/Net/Riak/Client.pm | |
| parent | add three map/reduce operations (from the fast track) (diff) | |
| download | net-riak-8093f1bc8a54c4f205460d4fbc1706f45bb6a195.tar.gz | |
accept multiples hosts so we don't always hit the same node
Diffstat (limited to '')
| -rw-r--r-- | lib/Net/Riak/Client.pm | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/Net/Riak/Client.pm b/lib/Net/Riak/Client.pm index fb4ce68..19d172f 100644 --- a/lib/Net/Riak/Client.pm +++ b/lib/Net/Riak/Client.pm @@ -3,13 +3,12 @@ package Net::Riak::Client; use Moose; use MIME::Base64; -with qw/Net::Riak::Role::REST Net::Riak::Role::UserAgent/; +with qw/ + Net::Riak::Role::REST + Net::Riak::Role::UserAgent + Net::Riak::Role::Hosts + /; -has host => ( - is => 'rw', - isa => 'Str', - default => 'http://127.0.0.1:8098' -); has prefix => ( is => 'rw', isa => 'Str', |
