5aeca56e54810579ce29bd9bf84ed6433b78ef40
[scpubgit/DX.git] / lib / DX / ActionBuilder / Normal.pm
1 package DX::ActionBuilder::Normal;
2
3 use DX::Class;
4
5 with 'DX::Role::ActionBuilder';
6
7 has target_path => (is => 'ro', required => 1);
8
9 sub action_for_set_value {
10   my ($self, $value) = @_;
11   DX::Action::SetValue->new(
12     target_path => $self->target_path,
13     new_value => $value->but_set_action_builder($self)
14   );
15 }
16
17 1;