comment saving
[scpubgit/Commentry.git] / lib / App / Commentry / Comment.pm
CommitLineData
4628d9c9 1package App::Commentry::Comment;
2
3use Moo;
4
5has title => (is => 'ro', required => 1);
6has body => (is => 'ro', required => 1);
7
24b96449 8sub TO_JSON { +{ %{$_[0]} } }
9
4628d9c9 101;