OOM/Link.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 7 / 7 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« OOM.pm ↑ Summary OOM/Meta/Class/Trait/HasLink.pm »
1 package OpenERP::OOM::Link;
2 =head1 NAME
3  
4 OpenERP::OOM::Link
5  
6 =head1 DESCRIPTION
7  
8 Base class for the link classes used to span OpenERP data and data in other
9 systems. See OpenERP::OOM::Object for more information about the links that
10 can be setup between two data sources with the has_link property.
11  
12 =head1 PROPERTIES
13  
14 =head2 config
15  
16 This property is usually used to store the configuration for the database connection
17 for the link.
18  
19 =head1 COPYRIGHT & LICENSE
20  
21 Copyright (C) 2011 OpusVL
22  
23 This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
24  
25 =cut
26  
27 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
28  
29 2 has 'schema' => (
30 is => 'ro',
31 );
32  
33 2 has 'config' => (
34 isa => 'HashRef',
35 is => 'ro',
36 );
37  
38 2 1;
« OOM.pm ↑ Summary OOM/Meta/Class/Trait/HasLink.pm »