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/Month.pm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 lib/WWW/YNAB/Month.pm (limited to 'lib/WWW/YNAB/Month.pm') diff --git a/lib/WWW/YNAB/Month.pm b/lib/WWW/YNAB/Month.pm new file mode 100644 index 0000000..4e7412f --- /dev/null +++ b/lib/WWW/YNAB/Month.pm @@ -0,0 +1,33 @@ +package WWW::YNAB::Month; +use Moose; + +has month => ( + is => 'ro', + isa => 'Str', + required => 1, +); + +has note => ( + is => 'ro', + isa => 'Maybe[Str]', +); + +has to_be_budgeted => ( + is => 'ro', + isa => 'Maybe[Int]', +); + +has age_of_money => ( + is => 'ro', + isa => 'Maybe[Int]', +); + +has categories => ( + is => 'ro', + isa => 'ArrayRef[WWW::YNAB::Category]', +); + +__PACKAGE__->meta->make_immutable; +no Moose; + +1; -- cgit v1.2.3-54-g00ecf