File Coverage

blib/lib/Business/GoCardless/User.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 Business::GoCardless::User;
2              
3             =head1 NAME
4              
5             Business::GoCardless::User
6              
7             =head1 DESCRIPTION
8              
9             A class for a gocardless user, extends L
10              
11             =cut
12              
13 19     19   131 use strict;
  19         48  
  19         622  
14 19     19   108 use warnings;
  19         46  
  19         468  
15              
16 19     19   102 use Moo;
  19         44  
  19         123  
17             extends 'Business::GoCardless::Resource';
18              
19             =head1 ATTRIBUTES
20              
21             created_at
22             email
23             first_name
24             id
25             last_name
26              
27             =cut
28              
29             has [ qw/
30             created_at
31             email
32             first_name
33             id
34             last_name
35             / ] => (
36             is => 'rw',
37             );
38              
39             =head1 AUTHOR
40              
41             Lee Johnson - C
42              
43             This library is free software; you can redistribute it and/or modify it under
44             the same terms as Perl itself. If you would like to contribute documentation,
45             features, bug fixes, or anything else then please raise an issue / pull request:
46              
47             https://github.com/Humanstate/business-gocardless
48              
49             =cut
50              
51             1;
52              
53             # vim: ts=4:sw=4:et