ETLp/Config.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package ETLp::Config;
2  
3 use MooseX::Declare;
4  
5 =head1 NAME
6  
7 ETLp::Config - the basic configuration setting for ETLp
8  
9 =head1 DESCRIPTION
10  
11 This is a singleton class that provides the Framework's configuration
12 settings to all interested classes in the framework
13  
14 =cut
15  
16 class ETLp::Config {
17 use MooseX::Singleton;
18 has 'dbh' => (is => 'rw', isa => 'DBI::db');
19 has 'logger' => (is => 'rw', isa => 'Log::Log4perl::Logger');
20 has 'schema' => (is => 'rw', isa => 'ETLp::Schema');
21 has 'audit' => (is => 'rw', isa => 'ETLp::Audit::Job');
22 }
23  
24 =head1 LICENSE AND COPYRIGHT
25  
26 Copyright 2010 Redbone Systems Ltd
27  
28 This program is free software; you can redistribute it and/or modify it
29 under the terms of either: the GNU General Public License as published
30 by the Free Software Foundation; or the Artistic License.
31  
32 The terms are in the LICENSE file that accompanies this application
33  
34 =cut
35  
36 1;