factor out DBIC::Result action base and SimpleMethodCall action role
[catagits/Reaction.git] / lib / Reaction / InterfaceModel / Action / DBIC / Result / Update.pm
index 59591ad..3b4c776 100644 (file)
@@ -1,15 +1,13 @@
 package Reaction::InterfaceModel::Action::DBIC::Result::Update;
 
-use Reaction::InterfaceModel::Action;
+use aliased 'Reaction::InterfaceModel::Action::DBIC::Result';
 use Reaction::Types::DBIC 'Row';
 use Reaction::Class;
 
-class Update is 'Reaction::InterfaceModel::Action', which {
+class Update is Result, which {
 
   does 'Reaction::InterfaceModel::Action::DBIC::Role::CheckUniques';
 
-  has '+target_model' => (isa => Row);
-
   implements BUILD => as {
     my ($self) = @_;
     my $tm = $self->target_model;