diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-06-14 15:25:35 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-06-14 15:25:35 +0200 |
| commit | 06094dd3e7cc2d4b9299886037fc39f4344a2b9f (patch) | |
| tree | e50f472413add487039e967783e560902bbcefc6 /lib/Net/Riak/Bucket.pm | |
| parent | tests for client (diff) | |
| download | net-riak-06094dd3e7cc2d4b9299886037fc39f4344a2b9f.tar.gz | |
add n::r::client and now client is a n::r::client
Diffstat (limited to 'lib/Net/Riak/Bucket.pm')
| -rw-r--r-- | lib/Net/Riak/Bucket.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Net/Riak/Bucket.pm b/lib/Net/Riak/Bucket.pm index 4586d34..6c848f9 100644 --- a/lib/Net/Riak/Bucket.pm +++ b/lib/Net/Riak/Bucket.pm @@ -13,7 +13,7 @@ has name => ( ); has client => ( is => 'ro', - isa => 'Net::Riak', + isa => 'Net::Riak::Client', required => 1 ); has content_type => ( @@ -21,7 +21,6 @@ has content_type => ( isa => 'Str', default => 'application/json' ); - has r => ( is => 'rw', isa => 'Int', @@ -127,7 +126,7 @@ sub new_object { key => $key, data => $data, bucket => $self, - client => $self->client + client => $self->client, ); $object; } |
