class IronMunger::Post {
+ use MooseX::Types::Moose qw(Str);
use MooseX::Types::DateTimeX qw(DateTime);
- has at => (isa => DateTime, is => 'rw', required => 1);
+ has at => (isa => DateTime, is => 'ro', required => 1);
+
+ has url => (isa => Str, is => 'ro', required => 1);
}
1;