File Coverage

blib/lib/Monitoring/Livestatus/Class/Table/Servicegroups.pm
Criterion Covered Total %
statement 1 3 33.3
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 2 4 50.0


line stmt bran cond sub pod time code
1             package # hide from pause
2             Monitoring::Livestatus::Class::Table::Servicegroups;
3              
4 2     2   6561 use Moose;
  0            
  0            
5             extends 'Monitoring::Livestatus::Class::Base::Table';
6              
7             sub build_table_name { return 'servicegroups' };
8              
9             sub build_primary_keys { return [qw/name/] };
10              
11             1;
12             __END__
13             =head1 NAME
14              
15             Monitoring::Livestatus::Class::Table::Servicegroups - Class for servicegroups table
16              
17             =head1 METHODS
18              
19             =head2 build_table_name
20              
21             =head2 build_primary_keys
22              
23             Returns the table name from these class.
24              
25             =head1 AUTHOR
26              
27             See L<Monitoring::Livestatus::Class/AUTHOR> and L<Monitoring::Livestatus::Class/CONTRIBUTORS>.
28              
29             =head1 COPYRIGHT & LICENSE
30              
31             Copyright 2009 Robert Bohne.
32              
33             This program is free software; you can redistribute it and/or modify it
34             under the terms of either: the GNU General Public License as published
35             by the Free Software Foundation; or the Artistic License.
36              
37             See http://dev.perl.org/licenses/ for more information.
38              
39             =cut
40             1;