File Coverage

blib/lib/WebService/PayPal/PaymentsAdvanced/Role/HasParams.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::PayPal::PaymentsAdvanced::Role::HasParams;
2              
3 8     8   4540 use Moo::Role;
  8         25  
  8         89  
4              
5 8     8   2970 use namespace::autoclean;
  8         20  
  8         79  
6              
7             our $VERSION = '0.000026';
8              
9 8     8   750 use Types::Standard qw( HashRef );
  8         23  
  8         68  
10              
11             has params => (
12             is => 'ro',
13             isa => HashRef,
14             required => 1,
15             );
16              
17             1;
18              
19             =pod
20              
21             =head1 NAME
22              
23             WebService::PayPal::PaymentsAdvanced::Role::HasParams - Role which provides params attribute to exception and response classes.
24              
25             =head1 VERSION
26              
27             version 0.000026
28              
29             =head1 METHODS
30              
31             =head2 params
32              
33             The parameters returned by PayPal
34              
35             =head1 AUTHOR
36              
37             Olaf Alders <olaf@wundercounter.com>
38              
39             =head1 COPYRIGHT AND LICENSE
40              
41             This software is copyright (c) 2020 by MaxMind, Inc.
42              
43             This is free software; you can redistribute it and/or modify it under
44             the same terms as the Perl 5 programming language system itself.
45              
46             =cut
47              
48             __END__
49             #ABSTRACT: Role which provides params attribute to exception and response classes.
50