added search spec sample to demo app
[catagits/Reaction.git] / lib / ComponentUI / TestModel / Foo / Action / SearchSpec / Update.pm
1 package ComponentUI::TestModel::Foo::Action::SearchSpec::Update;
2 use Reaction::Class;
3 use namespace::autoclean;
4
5 use MooseX::Types::Common::String qw/NonEmptySimpleStr/;
6
7 extends 'Reaction::InterfaceModel::Action';
8 with 'Reaction::InterfaceModel::Search::UpdateSpec';
9
10 has 'first_name' => (isa => NonEmptySimpleStr, is => 'rw', required => 0);
11 has 'last_name' => (isa => NonEmptySimpleStr, is => 'rw', required => 0);
12
13 sub _reflection_info {{ normal => [qw/first_name last_name/] }}
14
15 1;