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