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   10128 use Moo::Role;
  5         11  
  5         29  
4 5     5   1403 use namespace::autoclean;
  5         9  
  5         45  
5              
6             our $VERSION = '1.010000';
7              
8 5     5   837 use Types::Standard qw( Num );
  5         61044  
  5         34  
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.010000
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 - 2020 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