| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package WebService::PutIo::User; | 
| 2 |  |  |  |  |  |  |  | 
| 3 | 1 |  |  | 1 |  | 842 | use base 'WebService::PutIo'; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 1497 |  | 
| 4 |  |  |  |  |  |  |  | 
| 5 |  |  |  |  |  |  | my $class='user'; | 
| 6 |  |  |  |  |  |  |  | 
| 7 | 0 |  |  | 0 | 1 |  | sub info { shift->request($class,'info',@_); } | 
| 8 | 0 |  |  | 0 | 1 |  | sub friends { shift->request($class,'friends',@_); } | 
| 9 | 0 |  |  | 0 | 1 |  | sub token { shift->request($class,'acctoken',@_); } | 
| 10 |  |  |  |  |  |  |  | 
| 11 |  |  |  |  |  |  | =head1 NAME | 
| 12 |  |  |  |  |  |  |  | 
| 13 |  |  |  |  |  |  | WebService::PutIo::URLs - Analyze URLs | 
| 14 |  |  |  |  |  |  |  | 
| 15 |  |  |  |  |  |  | =head1 SYNOPSIS | 
| 16 |  |  |  |  |  |  |  | 
| 17 |  |  |  |  |  |  | use WebService::PutIo::URLs; | 
| 18 |  |  |  |  |  |  | my $urls=WebService::PutIo::URLs->new(api_key=>'..',api_secret=>'..'); | 
| 19 |  |  |  |  |  |  | my $res=$urls->analyze; | 
| 20 |  |  |  |  |  |  | foreach my $url (@{$res->urls}) { | 
| 21 |  |  |  |  |  |  | print "Got ". Data::Dumper($url); | 
| 22 |  |  |  |  |  |  | } | 
| 23 |  |  |  |  |  |  |  | 
| 24 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 25 |  |  |  |  |  |  |  | 
| 26 |  |  |  |  |  |  | Methods to analyze urls for use with put.io | 
| 27 |  |  |  |  |  |  |  | 
| 28 |  |  |  |  |  |  | =head1 METHODS | 
| 29 |  |  |  |  |  |  |  | 
| 30 |  |  |  |  |  |  | =head2 info | 
| 31 |  |  |  |  |  |  |  | 
| 32 |  |  |  |  |  |  | Returns more detailed info about the user. | 
| 33 |  |  |  |  |  |  |  | 
| 34 |  |  |  |  |  |  | =head2 friends | 
| 35 |  |  |  |  |  |  |  | 
| 36 |  |  |  |  |  |  | Returns user's friend list. | 
| 37 |  |  |  |  |  |  |  | 
| 38 |  |  |  |  |  |  | =head2 token | 
| 39 |  |  |  |  |  |  |  | 
| 40 |  |  |  |  |  |  | Returns user's access token. | 
| 41 |  |  |  |  |  |  |  | 
| 42 |  |  |  |  |  |  |  | 
| 43 |  |  |  |  |  |  | =head1 COPYRIGHT AND LICENSE | 
| 44 |  |  |  |  |  |  |  | 
| 45 |  |  |  |  |  |  | Copyright (C) 2010, Marcus Ramberg. | 
| 46 |  |  |  |  |  |  |  | 
| 47 |  |  |  |  |  |  | This program is free software, you can redistribute it and/or modify it under | 
| 48 |  |  |  |  |  |  | the terms of the Artistic License version 2.0. | 
| 49 |  |  |  |  |  |  |  | 
| 50 |  |  |  |  |  |  | =cut | 
| 51 |  |  |  |  |  |  |  | 
| 52 |  |  |  |  |  |  | 1; |