Permalink
Browse files

Merge pull request #5 from jcbf/patch-2

Support for add_pool_from_ring() #1
  • Loading branch information...
2 parents 3e512ff + 5a74163 commit 537f7686eaf5c2b4289e9de087e5fc17a0c94690 @fmgoncalves committed Feb 8, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cassandra/Simple.pm
View
@@ -71,6 +71,7 @@ has 'server_name' => ( is => 'rw', isa => 'Str', default => '127.0.0.1' );
has 'server_port' => ( is => 'rw', isa => 'Int', default => 9160 );
has 'username' => ( is => 'rw', isa => 'Str', default => '' );
+has 'pool_from_ring' => ( is => 'rw', isa => 'Any', trigger => sub { my $self = shift; $self->pool->add_pool_from_ring() if shift });
use 5.010;
use Cassandra::Cassandra;

0 comments on commit 537f768

Please sign in to comment.