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   4688 use Moo::Role;
  8         23  
  8         68  
4              
5 8     8   2974 use namespace::autoclean;
  8         21  
  8         64  
6              
7             our $VERSION = '0.000027';
8              
9 8     8   757 use Types::Standard qw( HashRef );
  8         21  
  8         88  
10              
11             has params => (
12             is => 'ro',
13             isa => HashRef,
14             required => 1,
15             );
16              
17             1;
18              
19             =pod
20              
21             =encoding UTF-8
22              
23             =head1 NAME
24              
25             WebService::PayPal::PaymentsAdvanced::Role::HasParams - Role which provides params attribute to exception and response classes.
26              
27             =head1 VERSION
28              
29             version 0.000027
30              
31             =head1 METHODS
32              
33             =head2 params
34              
35             The parameters returned by PayPal
36              
37             =head1 SUPPORT
38              
39             Bugs may be submitted through L<https://github.com/maxmind/webservice-paypal-paymentsadvanced/issues>.
40              
41             =head1 AUTHOR
42              
43             Olaf Alders <olaf@wundercounter.com>
44              
45             =head1 COPYRIGHT AND LICENSE
46              
47             This software is copyright (c) 2021 by MaxMind, Inc.
48              
49             This is free software; you can redistribute it and/or modify it under
50             the same terms as the Perl 5 programming language system itself.
51              
52             =cut
53              
54             __END__
55             #ABSTRACT: Role which provides params attribute to exception and response classes.
56