blib/lib/WWW/Sitemap/XML/URL/Interface.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/WWW/Sitemap/XML/Google/Video/Player/Interface.pm ↑ Summary blib/lib/WWW/SitemapIndex/XML/Sitemap/Interface.pm »
1 #ABSTRACT: Abstract interface for sitemap's URL classes
2 17 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 17 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 package WWW::Sitemap::XML::URL::Interface;
5 BEGIN {
6 17 ▶ $WWW::Sitemap::XML::URL::Interface::AUTHORITY = 'cpan:AJGB';
Subroutine BEGIN: called CC=1 SCAR=0.0
7 }
8 17 $WWW::Sitemap::XML::URL::Interface::VERSION = '2.01';
9 17 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 17 requires qw(
12 loc lastmod changefreq priority images videos mobile as_xml
13 );
14  
15  
16 17 ▶no Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18 17 1;
19  
20 __END__
21  
22 =pod
23  
24 =encoding UTF-8
25  
26 =head1 NAME
27  
28 WWW::Sitemap::XML::URL::Interface - Abstract interface for sitemap's URL classes
29  
30 =head1 VERSION
31  
32 version 2.01
33  
34 =head1 SYNOPSIS
35  
36 package My::Sitemap::URL;
37 use Moose;
38  
39 has [qw( loc lastmod changefreq priority as_xml )] => (
40 is => 'rw',
41 isa => 'Str',
42 );
43  
44 has [qw( images videos )] => (
45 is => 'rw',
46 isa => 'ArrayRef',
47 );
48  
49 has [qw( mobile )] => (
50 is => 'rw',
51 isa => 'Bool',
52 );
53  
54 with 'WWW::Sitemap::XML::URL::Interface';
55  
56 =head1 DESCRIPTION
57  
58 Abstract interface for URL elements added to sitemap.
59  
60 See L<WWW::Sitemap::XML::URL> for details.
61  
62 =head1 AUTHOR
63  
64 Alex J. G. Burzyński <ajgb@cpan.org>
65  
66 =head1 COPYRIGHT AND LICENSE
67  
68 This software is copyright (c) 2014 by Alex J. G. Burzyński <ajgb@cpan.org>.
69  
70 This is free software; you can redistribute it and/or modify it under
71 the same terms as the Perl 5 programming language system itself.
72  
73 =cut
« blib/lib/WWW/Sitemap/XML/Google/Video/Player/Interface.pm ↑ Summary blib/lib/WWW/SitemapIndex/XML/Sitemap/Interface.pm »