« blib/lib/WWW/Sitemap/XML/Google/Image/Interface.pm
↑ Summary
blib/lib/WWW/Sitemap/XML/Google/Video/Player/Interface.pm »
| 1 | #ABSTRACT: Abstract interface for Google extension video class | ||
| 2 | 23 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 23 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | package WWW::Sitemap::XML::Google::Video::Interface; | ||
| 5 | BEGIN { | ||
| 6 | 23 | ▶ | $WWW::Sitemap::XML::Google::Video::Interface::AUTHORITY = 'cpan:AJGB'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | } | ||
| 8 | 23 | $WWW::Sitemap::XML::Google::Video::Interface::VERSION = '2.01'; | |
| 9 | 23 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 23 | requires qw( | |
| 12 | content_loc title description thumbnail_loc player as_xml | ||
| 13 | ); | ||
| 14 | |||
| 15 | |||
| 16 | 23 | 1; | |
| 17 | |||
| 18 | __END__ | ||
| 19 | |||
| 20 | =pod | ||
| 21 | |||
| 22 | =encoding UTF-8 | ||
| 23 | |||
| 24 | =head1 NAME | ||
| 25 | |||
| 26 | WWW::Sitemap::XML::Google::Video::Interface - Abstract interface for Google extension video class | ||
| 27 | |||
| 28 | =head1 VERSION | ||
| 29 | |||
| 30 | version 2.01 | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | package My::Sitemap::Google::Video; | ||
| 35 | use Moose; | ||
| 36 | |||
| 37 | has [qw( content_loc title description thumbnail_loc player as_xml )] => ( | ||
| 38 | is => 'rw', | ||
| 39 | isa => 'Str', | ||
| 40 | ); | ||
| 41 | |||
| 42 | with 'WWW::Sitemap::XML::Google::Video::Interface'; | ||
| 43 | |||
| 44 | =head1 DESCRIPTION | ||
| 45 | |||
| 46 | Abstract interface for video elements added to sitemap. | ||
| 47 | |||
| 48 | See L<WWW::Sitemap::XML::Google::Video> for details. | ||
| 49 | |||
| 50 | =head1 AUTHOR | ||
| 51 | |||
| 52 | Alex J. G. Burzyński <ajgb@cpan.org> | ||
| 53 | |||
| 54 | =head1 COPYRIGHT AND LICENSE | ||
| 55 | |||
| 56 | This software is copyright (c) 2014 by Alex J. G. Burzyński <ajgb@cpan.org>. | ||
| 57 | |||
| 58 | This is free software; you can redistribute it and/or modify it under | ||
| 59 | the same terms as the Perl 5 programming language system itself. | ||
| 60 | |||
| 61 | =cut | ||