User/Identity/Collection/Systems.pm untested

filter: Statementstmt 0.0% 0 / 23 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc n/a Subroutinesub 0.0% 0 / 8 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 36 SCAR 6.9
CC
1
Cov
0%
new
2.0
init
2.0
type
2.0
CRAP 2.0
1 # Copyrights 2003-2022 by [Mark Overmeer <markov@cpan.org>].
2 # For other contributors see ChangeLog.
3 # See the manual pages for details on the licensing terms.
4 # Pod stripped from pm file by OODoc 2.03.
5 # This code is part of distribution User-Identity. Meta-POD processed with
6 # OODoc into POD and HTML manual-pages. See README.md
7 # Copyright Mark Overmeer. Licensed under the same terms as Perl itself.
8  
9 package User::Identity::Collection::Systems;
10 use vars '$VERSION';
11 $VERSION = '1.01';
12  
13 use base 'User::Identity::Collection';
14  
15 use strict;
16 use warnings;
17  
18 use User::Identity::System;
19  
20  
21 sub new(@)
22 { my $class = shift;
23 $class->SUPER::new(systems => @_);
24 }
25  
26 sub init($)
27 { my ($self, $args) = @_;
28 $args->{item_type} ||= 'User::Identity::System';
29  
30 $self->SUPER::init($args);
31  
32 $self;
33 }
34  
35 sub type() { 'network' }
36  
37 1;
38