Client/Request/RetrieveRelationships.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 0.0% 0 / 1 totaltotal 93.3% 14 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
path
1.0
BEGIN
1.0
CRAP 1.0
« Client/Request/RetrieveByRelationship.pm ↑ Summary Client/Request/Update.pm »
1 # ABSTRACT: request - retrieve relationships
2 package PONAPI::Client::Request::RetrieveRelationships;
3  
4 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 with 'PONAPI::Client::Request',
7 'PONAPI::Client::Request::Role::IsGET',
8 'PONAPI::Client::Request::Role::HasType',
9 'PONAPI::Client::Request::Role::HasId',
10 'PONAPI::Client::Request::Role::HasRelationshipType',
11 'PONAPI::Client::Request::Role::HasFilter',
12 'PONAPI::Client::Request::Role::HasPage';
13  
14 sub path {
15 1 ▶ my $self = shift;
Subroutine path: called CC=1 SCAR=0.0
Pod undocumented
16 1 return '/' . $self->type . '/' . $self->id .'/relationships/' . $self->rel_type;
17 }
18  
19 1 __PACKAGE__->meta->make_immutable;
20 1 ▶no Moose; 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
21  
22 __END__
23  
24 =pod
25  
26 =encoding UTF-8
27  
28 =head1 NAME
29  
30 PONAPI::Client::Request::RetrieveRelationships - request - retrieve relationships
31  
32 =head1 VERSION
33  
34 version 0.002003
35  
36 =head1 AUTHORS
37  
38 =over 4
39  
40 =item *
41  
42 Mickey Nasriachi <mickey@cpan.org>
43  
44 =item *
45  
46 Stevan Little <stevan@cpan.org>
47  
48 =item *
49  
50 Brian Fraser <hugmeir@cpan.org>
51  
52 =back
53  
54 =head1 COPYRIGHT AND LICENSE
55  
56 This software is copyright (c) 2016 by Mickey Nasriachi, Stevan Little, Brian Fraser.
57  
58 This is free software; you can redistribute it and/or modify it under
59 the same terms as the Perl 5 programming language system itself.
60  
61 =cut
« Client/Request/RetrieveByRelationship.pm ↑ Summary Client/Request/Update.pm »