File Coverage

lib/WWW/Curl/UserAgent/Handler.pm
Criterion Covered Total %
statement 1 3 33.3
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 2 4 50.0


line stmt bran cond sub pod time code
1             package WWW::Curl::UserAgent::Handler;
2             {
3             $WWW::Curl::UserAgent::Handler::VERSION = '0.9.6';
4             }
5              
6 1     1   2004 use Moose;
  0            
  0            
7              
8             has request => (
9             is => 'ro',
10             isa => 'WWW::Curl::UserAgent::Request',
11             required => 1,
12             );
13              
14             has on_success => (
15             is => 'ro',
16             isa => 'CodeRef',
17             required => 1,
18             );
19              
20             has on_failure => (
21             is => 'ro',
22             isa => 'CodeRef',
23             required => 1,
24             );
25              
26             no Moose;
27             __PACKAGE__->meta->make_immutable;
28             1;