summary refs log tree commit diff
path: root/lib/Net/Riak/Link.pm
diff options
context:
space:
mode:
authorRobin Edwards <robin.ge@gmail.com>2011-04-20 14:38:43 +0100
committerRobin Edwards <robin.ge@gmail.com>2011-04-20 14:38:43 +0100
commit79bea382fd2c0753ca9ace79a11bb74c9a1d722b (patch)
treebde42a47792a27e0a863ee527b88c8c24258f7e9 /lib/Net/Riak/Link.pm
parentMerge remote branch 'simon/fix_link_encoding' (diff)
downloadnet-riak-79bea382fd2c0753ca9ace79a11bb74c9a1d722b.tar.gz
merged pbc branch to master
Diffstat (limited to 'lib/Net/Riak/Link.pm')
-rw-r--r--lib/Net/Riak/Link.pm15
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;
-