blib/lib/XML/NewsML_G2/Copyright_Holder.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/XML/NewsML_G2/Binary.pm ↑ Summary blib/lib/XML/NewsML_G2/Creator.pm »
1 package XML::NewsML_G2::Copyright_Holder;
2  
3 19 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 19 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 19 with 'XML::NewsML_G2::Role::HasQCode';
7  
8 19 has 'notice', isa => 'Str', is => 'ro';
9 19 has 'uri', isa => 'Str', is => 'ro';
10 19 has 'remote_info', isa => 'XML::NewsML_G2::Remote_Info', is => 'ro';
11 19 has '+qcode', required => 0;
12  
13 19 __PACKAGE__->meta->make_immutable;
14  
15 19 1;
16 __END__
17  
18 =head1 NAME
19  
20 XML::NewsML_G2::Copyright_Holder - the news provider (news agency)
21  
22 =head1 SYNOPSIS
23  
24 my $apa = XML::NewsML_G2::Copyright_Holder->new(name => 'APA', qcode => 'apa');
25  
26 =head1 ATTRIBUTES
27  
28 =over 4
29  
30 =item notice
31  
32 for an optional copyright notice
33  
34 =item uri
35  
36 optional uri to copyright holder
37  
38 =item qcode
39  
40 optional qcode of the copyright holder
41  
42 =back
43  
44 =head1 AUTHOR
45  
46 Stefan Hrdlicka C<< <stefan.hrdlicka@apa.at> >>
47  
48 =head1 LICENCE AND COPYRIGHT
49  
50 Copyright (c) 2013-2014, APA-IT. All rights reserved.
51  
52 See L<XML::NewsML_G2> for the license.
« blib/lib/XML/NewsML_G2/Binary.pm ↑ Summary blib/lib/XML/NewsML_G2/Creator.pm »