| 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<Business::GoCardless::Resource> | ||
| 10 | |||
| 11 | =cut | ||
| 12 | |||
| 13 | 55 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 55 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | |||
| 16 | 55 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | 55 | extends 'Business::GoCardless::Resource'; | |
| 18 | |||
| 19 | =head1 ATTRIBUTES | ||
| 20 | |||
| 21 | created_at | ||
| 22 | |||
| 23 | first_name | ||
| 24 | id | ||
| 25 | last_name | ||
| 26 | |||
| 27 | =cut | ||
| 28 | |||
| 29 | 55 | has [ qw/ | |
| 30 | created_at | ||
| 31 | |||
| 32 | first_name | ||
| 33 | id | ||
| 34 | last_name | ||
| 35 | / ] => ( | ||
| 36 | is => 'rw', | ||
| 37 | ); | ||
| 38 | |||
| 39 | =head1 AUTHOR | ||
| 40 | |||
| 41 | Lee Johnson - C<lee@payprop.com> | ||
| 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/payprop/business-gocardless | ||
| 48 | |||
| 49 | =cut | ||
| 50 | |||
| 51 | 55 | 1; | |
| 52 | |||
| 53 | # vim: ts=4:sw=4:et | ||