Crop/Rights/Perm.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
Table
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Crop::Rights::Perm;
2 use base qw/ Crop::Object::Simple /;
3  
4 =begin nd
5 Class: Crop::Rights::Perm
6 Action such a 'READ','WRITE', and so on.
7 =cut
8  
9 use v5.14;
10 use warnings;
11  
12 =begin nd
13 Variable: our %Attributes
14 Class attributes:
15  
16 id - id from <Crop::Object::Simple>
17 code - CODE for perl use
18 name - name
19 description - description
20 id_file - icon
21 =cut
22 our %Attributes = (
23 code => {mode => 'read'},
24 name => undef,
25 description => undef,
26 id_file => undef,
27 );
28  
29 =begin nd
30 Method: Table ( )
31 Table in Warehouse.
32  
33 Returns:
34 'perm' string
35 =cut
36 sub Table { 'perm' }
37  
38 1;