diff options
author | Robin Edwards <robin.ge@gmail.com> | 2011-04-20 14:38:43 +0100 |
---|---|---|
committer | Robin Edwards <robin.ge@gmail.com> | 2011-04-20 14:38:43 +0100 |
commit | 79bea382fd2c0753ca9ace79a11bb74c9a1d722b (patch) | |
tree | bde42a47792a27e0a863ee527b88c8c24258f7e9 /lib/Net/Riak/Link.pm | |
parent | Merge remote branch 'simon/fix_link_encoding' (diff) | |
download | net-riak-79bea382fd2c0753ca9ace79a11bb74c9a1d722b.tar.gz |
merged pbc branch to master
Diffstat (limited to 'lib/Net/Riak/Link.pm')
-rw-r--r-- | lib/Net/Riak/Link.pm | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/Net/Riak/Link.pm b/lib/Net/Riak/Link.pm index 980aabb..57881a0 100644 --- a/lib/Net/Riak/Link.pm +++ b/lib/Net/Riak/Link.pm @@ -20,19 +20,4 @@ has tag => ( default => sub {(shift)->bucket->name} ); -sub to_link_header { - my ($self, $client) = @_; - - $client ||= $self->client; - - my $link = ''; - $link .= '</'; - $link .= $client->prefix . '/'; - $link .= $self->bucket->name . '/'; - $link .= $self->key . '>; riaktag="'; - $link .= $self->tag . '"'; - return $link; -} - 1; - |