Posterous/Media/Video.pm

filter: Statementstmt 93.7% 15 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 90.4% 19 / 21 CC 1 SCAR 2.2
CC
1
Cov
94%
thumb_url
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Posterous/Media/Image.pm ↑ Summary Posterous/Site.pm »
1 package Net::Posterous::Media::Video;
2  
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use base qw(Net::Posterous::Object);
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 ▶use Class::Accessor "antlers";
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 =head1 NAME
9  
10 Net::Posterous::Media::Video - represent an video object in Net::Posterous
11  
12 =head1 METHODS
13  
14 =cut
15  
16  
17 =head2 url
18  
19 Get or set the URL of this video.
20  
21 =cut
22  
23 2 has url => ( is => "rw", isa => "Str" );
24  
25  
26 =head2 thumb_url
27  
28 Get or set the URL of the thumbnail for this video.
29  
30 =cut
31  
32 0 ▶sub thumb_url {
Subroutine thumb_url: not called CC=1 SCAR=6.9
Pod documented
33 0 shift->thumb(@_);
34 }
35  
36 2 has thumb => ( is => "rw", isa => "Str" );
37  
38 =head2 filesize
39  
40 Get or set the filesize for this video.
41  
42 =cut
43 2 has filesize => ( is => "rw", isa => "Str" );
44  
45 =head2 flv
46  
47 Get or set the URL to the flv transcoding for this video.
48  
49 =cut
50  
51 2 has flv => ( is => "rw", isa => "Str" );
52  
53 =head2 mp4
54  
55 Get or set the URL to the mp4 transcoding for this video.
56  
57 =cut
58 2 has mp4 => ( is => "rw", isa => "Str" );
59  
60 2 1;
61  
« Posterous/Media/Image.pm ↑ Summary Posterous/Site.pm »