From 695895e26618cbfaa89183848cbeadd7ab9a0d5b Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 23 Jun 2018 19:59:49 -0400 Subject: initial implementation --- lib/WWW/YNAB/CategoryGroup.pm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 lib/WWW/YNAB/CategoryGroup.pm (limited to 'lib/WWW/YNAB/CategoryGroup.pm') diff --git a/lib/WWW/YNAB/CategoryGroup.pm b/lib/WWW/YNAB/CategoryGroup.pm new file mode 100644 index 0000000..d266a3e --- /dev/null +++ b/lib/WWW/YNAB/CategoryGroup.pm @@ -0,0 +1,33 @@ +package WWW::YNAB::CategoryGroup; +use Moose; + +has id => ( + is => 'ro', + isa => 'Str', + required => 1, +); + +has name => ( + is => 'ro', + isa => 'Str', +); + +has hidden => ( + is => 'ro', + isa => 'Bool', +); + +has deleted => ( + is => 'ro', + isa => 'Bool', +); + +has categories => ( + is => 'ro', + isa => 'ArrayRef[WWW::YNAB::Category]', +); + +__PACKAGE__->meta->make_immutable; +no Moose; + +1; -- cgit v1.2.3-54-g00ecf