File Coverage

blib/lib/WebService/MinFraud/Role/Error/HTTP.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package WebService::MinFraud::Role::Error::HTTP;
2              
3 1     1   546 use Moo::Role;
  1         2  
  1         7  
4 1     1   341 use namespace::autoclean;
  1         3  
  1         6  
5              
6             our $VERSION = '1.009001';
7              
8 1     1   507 use WebService::MinFraud::Types qw( HTTPStatus URIObject );
  1         4  
  1         117  
9              
10             has http_status => (
11             is => 'ro',
12             isa => HTTPStatus,
13             required => 1,
14             );
15              
16             has uri => (
17             is => 'ro',
18             isa => URIObject,
19             required => 1,
20             );
21              
22             1;
23              
24             # ABSTRACT: An HTTP Error role
25              
26             __END__
27              
28             =pod
29              
30             =encoding UTF-8
31              
32             =head1 NAME
33              
34             WebService::MinFraud::Role::Error::HTTP - An HTTP Error role
35              
36             =head1 VERSION
37              
38             version 1.009001
39              
40             =head1 SUPPORT
41              
42             Bugs may be submitted through L<https://github.com/maxmind/minfraud-api-perl/issues>.
43              
44             =head1 AUTHOR
45              
46             Mateu Hunter <mhunter@maxmind.com>
47              
48             =head1 COPYRIGHT AND LICENSE
49              
50             This software is copyright (c) 2015 - 2019 by MaxMind, Inc.
51              
52             This is free software; you can redistribute it and/or modify it under
53             the same terms as the Perl 5 programming language system itself.
54              
55             =cut