blib/lib/XML/NewsML_G2/Role/Remote.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/XML/NewsML_G2/Role/HasTranslations.pm ↑ Summary blib/lib/XML/NewsML_G2/Role/RemoteAudible.pm »
1 package XML::NewsML_G2::Role::Remote;
2  
3 26 ▶use XML::NewsML_G2::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 26 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 26 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 26 has 'size', isa => 'Int', is => 'rw';
9 26 has 'mimetype', isa => 'Str', is => 'rw';
10  
11 26 1;
12 __END__
13  
14 =head1 NAME
15  
16 XML::NewsML_G2::Remote - Used by Picture, Graphics, Audio, Video
17  
18 =head1 SYNOPSIS
19  
20 my $pic = XML::NewsML_G2::Video->new
21 (size => 2231259,
22 width => 1280,
23 height => 720,
24 duration => 220,
25 );
26  
27 =head1 ATTRIBUTES
28  
29 =over 4
30  
31 =item size
32  
33 The size in bytes of the video file
34  
35 =item mimetype
36  
37 The MIME type of the video file (e.g. image/jpg)
38  
39 =back
40  
41 =head1 AUTHOR
42  
43 Mario Paumann C<< <mario.paumann@apa.at> >>
44  
45 =head1 LICENCE AND COPYRIGHT
46  
47 Copyright (c) 2013-2014, APA-IT. All rights reserved.
48  
49 See L<XML::NewsML_G2> for the license.
« blib/lib/XML/NewsML_G2/Role/HasTranslations.pm ↑ Summary blib/lib/XML/NewsML_G2/Role/RemoteAudible.pm »