| 1 | package Reddit::Type::User; | ||
| 2 | use 5.010001; | ||
| 3 | use common::sense; | ||
| 4 | use Moose; | ||
| 5 | |||
| 6 | has [ | ||
| 7 | 'display_name', 'title', | ||
| 8 | 'name', 'id', | ||
| 9 | 'created', 'created_utc', | ||
| 10 | 'over18', 'subscribers', | ||
| 11 | 'description', | ||
| 12 | ] => ( | ||
| 13 | is => 'rw', | ||
| 14 | isa => 'Str', | ||
| 15 | lazy => 1, | ||
| 16 | default => '', | ||
| 17 | ); | ||
| 18 | |||
| 19 | no Moose; | ||
| 20 | __PACKAGE__->meta->make_immutable; | ||
| 21 | |||
| 22 | 1; | ||
| 23 | __END__ |