File Coverage

blib/lib/WebService/MinFraud/Role/Record/HasRisk.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::Record::HasRisk;
2              
3 5     5   12309 use Moo::Role;
  5         15  
  5         33  
4 5     5   1766 use namespace::autoclean;
  5         25  
  5         30  
5              
6             our $VERSION = '1.009001';
7              
8 5     5   1013 use Types::Standard qw( Num );
  5         74611  
  5         39  
9              
10             has risk => (
11             is => 'ro',
12             isa => Num,
13             predicate => 1,
14             );
15              
16             1;
17              
18             # ABSTRACT: A role to add a risk attribute
19              
20             __END__
21              
22             =pod
23              
24             =encoding UTF-8
25              
26             =head1 NAME
27              
28             WebService::MinFraud::Role::Record::HasRisk - A role to add a risk attribute
29              
30             =head1 VERSION
31              
32             version 1.009001
33              
34             =head1 SUPPORT
35              
36             Bugs may be submitted through L<https://github.com/maxmind/minfraud-api-perl/issues>.
37              
38             =head1 AUTHOR
39              
40             Mateu Hunter <mhunter@maxmind.com>
41              
42             =head1 COPYRIGHT AND LICENSE
43              
44             This software is copyright (c) 2015 - 2019 by MaxMind, Inc.
45              
46             This is free software; you can redistribute it and/or modify it under
47             the same terms as the Perl 5 programming language system itself.
48              
49             =cut