line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package CatalystX::Resource::TraitFor::Controller::Resource::List; |
2
|
|
|
|
|
|
|
$CatalystX::Resource::TraitFor::Controller::Resource::List::VERSION = '0.03'; |
3
|
9
|
|
|
9
|
|
13624
|
use MooseX::MethodAttributes::Role; |
|
9
|
|
|
|
|
26
|
|
|
9
|
|
|
|
|
77
|
|
4
|
9
|
|
|
9
|
|
85364
|
use namespace::autoclean; |
|
9
|
|
|
|
|
24
|
|
|
9
|
|
|
|
|
77
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: a list action for your resource |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
|
9
|
9
|
|
|
9
|
1
|
1123
|
sub list : Method('GET') Chained('base') PathPart('list') Args(0) {} |
|
9
|
|
|
28
|
|
30
|
|
|
9
|
|
|
|
|
126
|
|
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.03 |
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 |