TaskPipe/OpenProxyManager/IPList_Xroxy/Settings.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 11 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package TaskPipe::OpenProxyManager::IPList_Xroxy::Settings;
2  
3 use Moose;
4 with 'MooseX::ConfigCascade';
5  
6 =head1 NAME
7  
8 TaskPipe::OpenProxyManager::IPList_Xroxy::Settings - settings for TaskPipe::OpenProxyManager::IPList_Xroxy
9  
10 =head1 METHODS
11  
12 =over
13  
14 =item url_template
15  
16 The template used to form xroxy urls
17  
18 =cut
19  
20 has url_template => (
21 is => 'ro',
22 isa => 'Str',
23 default => 'http://www.xroxy.com/proxylist.php?port=&type=&ssl=&country=&latency=&reliability=&sort=reliability&desc=true&pnum=<page>#table'
24 );
25  
26 =item ua_mgr_module
27  
28 The UserAgentManager module to use
29  
30 =cut
31  
32 has ua_mgr_module => (is => 'ro', isa => 'Str', default => 'TaskPipe::UserAgentManager_ProxyNet_TOR');
33  
34  
35 =item ua_handler_module
36  
37 The UserAgentHandler module to use
38  
39 =cut
40  
41 has ua_handler_module => (
42 is => 'ro',
43 isa => 'Str',
44 default => 'TaskPipe::UserAgentManager::UserAgentHandler_PhantomJS'
45 );
46  
47  
48 =item proxies_per_page
49  
50 The number of proxies expected to appear on each page
51  
52 =back
53  
54 =cut
55  
56 has proxies_per_page => (is => 'ro', isa => 'Int', default => 10);
57  
58  
59 1;
60 __PACKAGE__->meta->make_immutable;