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