File Coverage

blib/lib/XML/NewsML_G2/Creator.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package XML::NewsML_G2::Creator;
2              
3 18     18   126 use Moose;
  18         43  
  18         129  
4 18     18   78908 use namespace::autoclean;
  18         43  
  18         146  
5              
6             has 'name', isa => 'Str', is => 'ro', required => 1;
7              
8             has 'kind', isa => 'Str', is => 'ro';
9              
10             __PACKAGE__->meta->make_immutable;
11              
12             1;
13             __END__
14              
15             =head1 NAME
16              
17             XML::NewsML_G2::Creator - creator of content
18              
19             =head1 SYNOPSIS
20              
21             my $genre = XML::NewsML_G2::Creator->new(name => 'Max Mustermann', kind => 'staff');
22              
23             =head1 AUTHOR
24              
25             Christian Eder C<< <christian.eder@apa.at> >>
26              
27             =head1 LICENCE AND COPYRIGHT
28              
29             Copyright (c) 2019, APA-IT. All rights reserved.
30              
31             See L<XML::NewsML_G2> for the license.