blib/lib/CatalystX/Resource/TraitFor/Controller/Resource/List.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
list
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package CatalystX::Resource::TraitFor::Controller::Resource::List;
2 $CatalystX::Resource::TraitFor::Controller::Resource::List::VERSION = '0.009_002';
3 use MooseX::MethodAttributes::Role;
4 use namespace::autoclean;
5  
6 # ABSTRACT: a list action for your resource
7  
8  
9 sub list : Method('GET') Chained('base') PathPart('list') Args(0) {}
10  
11 1;
12  
13 __END__
14  
15 =pod
16  
17 =encoding UTF-8
18  
19 =head1 NAME
20  
21 CatalystX::Resource::TraitFor::Controller::Resource::List - a list action for your resource
22  
23 =head1 VERSION
24  
25 version 0.009_002
26  
27 =head1 ACTIONS
28  
29 =head2 list
30  
31 display list (index) of all resources
32  
33 =head1 AUTHOR
34  
35 David Schmidt <davewood@cpan.org>
36  
37 =head1 COPYRIGHT AND LICENSE
38  
39 This software is copyright (c) 2011 by David Schmidt.
40  
41 This is free software; you can redistribute it and/or modify it under
42 the same terms as the Perl 5 programming language system itself.
43  
44 =cut