File Coverage

blib/lib/Catmandu/FedoraCommons/Model/addRelationship.pm
Criterion Covered Total %
statement 0 1 0.0
branch n/a
condition n/a
subroutine 0 1 0.0
pod 0 1 0.0
total 0 3 0.0


line stmt bran cond sub pod time code
1             =head1 NAME
2              
3             Catmandu::FedoraCommons::Model::addRelationship - Perl model for the Fedora 'addRelationship' REST call
4              
5             =head1 SYNOPSIS
6              
7             use Catmandu::FedoraCommons;
8            
9             my $fedora = Catmandu::FedoraCommons->new('http://localhost:8080/fedora','fedoraAdmin','fedoraAdmin');
10            
11             my $obj = $fedora->addRelationship(pid => 'demo:29' , relation => [ 'info:fedora/demo:29' , 'http://my.org/name' , 'Peter'])->parse_content;
12            
13             Returns 1 on success.
14            
15             =head1 SEE ALSO
16              
17             L<Catmandu::FedoraCommons>
18              
19             =cut
20             package Catmandu::FedoraCommons::Model::addRelationship;
21              
22             sub parse {
23 0     0 0   1;
24             }
25              
26             1;