blib/lib/XML/NewsML_G2/Provider.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/XML/NewsML_G2/Product.pm ↑ Summary blib/lib/XML/NewsML_G2/Service.pm »
1 package XML::NewsML_G2::Provider;
2  
3 # $Id: Provider.pm 46519 2013-05-31 15:38:08Z apatecgortan $
4  
5 10 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 10 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8  
9 10 has 'name', isa => 'Str', is => 'ro', required => 1;
10 10 has 'qcode', isa => 'Str', is => 'ro', required => 1;
11 10 has 'notice', isa => 'Str', is => 'ro';
12  
13 10 __PACKAGE__->meta->make_immutable;
14  
15 10 1;
16 __END__
17  
18 =head1 NAME
19  
20 XML::NewsML_G2::Provider - the news provider (news agency)
21  
22 =head1 SYNOPSIS
23  
24 my $apa = XML::NewsML_G2::Provider->new(name => 'APA', qcode => 'apa');
25  
26 =head1 ATTRIBUTES
27  
28 =over 4
29  
30 =item name
31  
32 =item qcode
33  
34 =item notice
35  
36 for an optional copyright notice
37  
38 =back
39  
40 =head1 AUTHOR
41  
42 Philipp Gortan C<< <philipp.gortan@apa.at> >>
43  
44 =head1 LICENCE AND COPYRIGHT
45  
46 Copyright (c) 2013, APA-IT. All rights reserved.
47  
48 See L<XML::NewsML_G2> for the license.
« blib/lib/XML/NewsML_G2/Product.pm ↑ Summary blib/lib/XML/NewsML_G2/Service.pm »