GoCardless/CustomerNotification.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« GoCardless/CurrencyExchangeRate.pm ↑ Summary GoCardless/Export.pm »
1 package Business::GoCardless::CustomerNotification;
2  
3 =head1 NAME
4  
5 Business::GoCardless::CustomerNotification
6  
7 =head1 DESCRIPTION
8  
9 A class for a gocardless customer notification, extends L<Business::GoCardless::Resource>
10  
11 =cut
12  
13 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 5 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 5 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 5 extends 'Business::GoCardless::Resource';
18  
19 =head1 ATTRIBUTES
20  
21 action_taken
22 action_taken_at
23 action_taken_by
24 id
25 links
26 type
27  
28 =cut
29  
30 5 has [ qw/
31 action_taken
32 action_taken_at
33 action_taken_by
34 id
35 links
36 type
37 / ] => (
38 is => 'rw',
39 );
40  
41 =head1 Operations on a customer notification
42  
43 =head2 handle
44  
45 Handle the notification, meaning you have sent it and GoCardless will not:
46  
47 $Notification->handle;
48  
49 =cut
50  
51 3 ▶sub handle { shift->_action( 'handle',@_ ); }
Subroutine handle: called CC=1 SCAR=0.0
Pod documented
52  
53 =head1 AUTHOR
54  
55 Lee Johnson - C<lee@payprop.com>
56  
57 This library is free software; you can redistribute it and/or modify it under
58 the same terms as Perl itself. If you would like to contribute documentation,
59 features, bug fixes, or anything else then please raise an issue / pull request:
60  
61 https://github.com/payprop/business-gocardless
62  
63 =cut
64  
65 5 1;
66  
67 # vim: ts=4:sw=4:et
« GoCardless/CurrencyExchangeRate.pm ↑ Summary GoCardless/Export.pm »