API/Video.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 23 CC 1 SCAR 6.9
CC
1
Cov
0%
get_upload_limits
2.0
upload
2.0
BEGIN
2.0
CRAP 2.0
1 #######################################################################
2 # ex: set ts=8 sw=4 et
3 #########################################################################
4 package WWW::Facebook::API::Video;
5  
6 use warnings;
7 use strict;
8 use Carp;
9  
10 sub get_upload_limits { return shift->base->call( 'video.getUploadLimits', @_ ) }
11 sub upload {
12 my $base = shift->base;
13  
14 $base->server_uri('http://api-video.facebook.com/restserver.php');
15 my $response = $base->call( 'video.upload', format => $base->format, @_ );
16 $base->server_uri('http://api.facebook.com/restserver.php');
17  
18 return $response;
19 }
20  
21 1; # Magic true value required at end of module
22 __END__