Client/Request/Retrieve.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/Delete.pm ↑ Summary Client/Request/RetrieveAll.pm »
1 # ABSTRACT: request - retrieve
2 package PONAPI::Client::Request::Retrieve;
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::HasFields',
11 'PONAPI::Client::Request::Role::HasFilter',
12 'PONAPI::Client::Request::Role::HasInclude',
13 'PONAPI::Client::Request::Role::HasPage';
14  
15 sub path {
16 1 ▶ my $self = shift;
Subroutine path: called CC=1 SCAR=0.0
Pod undocumented
17 1 return '/' . $self->type . '/' . $self->id;
18 }
19  
20 1 __PACKAGE__->meta->make_immutable;
21 1 ▶no Moose; 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 __END__
24  
25 =pod
26  
27 =encoding UTF-8
28  
29 =head1 NAME
30  
31 PONAPI::Client::Request::Retrieve - request - retrieve
32  
33 =head1 VERSION
34  
35 version 0.002003
36  
37 =head1 AUTHORS
38  
39 =over 4
40  
41 =item *
42  
43 Mickey Nasriachi <mickey@cpan.org>
44  
45 =item *
46  
47 Stevan Little <stevan@cpan.org>
48  
49 =item *
50  
51 Brian Fraser <hugmeir@cpan.org>
52  
53 =back
54  
55 =head1 COPYRIGHT AND LICENSE
56  
57 This software is copyright (c) 2016 by Mickey Nasriachi, Stevan Little, Brian Fraser.
58  
59 This is free software; you can redistribute it and/or modify it under
60 the same terms as the Perl 5 programming language system itself.
61  
62 =cut
« Client/Request/Delete.pm ↑ Summary Client/Request/RetrieveAll.pm »