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