blib/lib/XML/NewsML_G2/Service.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/XML/NewsML_G2/Provider.pm ↑ Summary blib/lib/XML/NewsML_G2/Topic.pm »
1 package XML::NewsML_G2::Service;
2  
3 # $Id: Service.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  
12 10 __PACKAGE__->meta->make_immutable;
13  
14 10 1;
15 __END__
16  
17 =head1 NAME
18  
19 XML::NewsML_G2::Service - a service produced by the news agency
20  
21 =head1 SYNOPSIS
22  
23 my $svc = XML::NewsML_G2::Service->new
24 (name => 'Economic News', qcode => 'eco');
25  
26 =head1 AUTHOR
27  
28 Philipp Gortan C<< <philipp.gortan@apa.at> >>
29  
30 =head1 LICENCE AND COPYRIGHT
31  
32 Copyright (c) 2013, APA-IT. All rights reserved.
33  
34 See L<XML::NewsML_G2> for the license.
« blib/lib/XML/NewsML_G2/Provider.pm ↑ Summary blib/lib/XML/NewsML_G2/Topic.pm »