add state command for creating mutable globals
[scpubgit/DX.git] / lib / DX / Action / AddValue.pm
CommitLineData
0498469a 1package DX::Action::AddValue;
2
3use DX::Update::AddValue;
4use DX::Class;
5
6with 'DX::Role::SimpleAction';
7
8has new_value => (is => 'ro', required => 1);
9
10sub _build__updates {
11 my ($self) = @_;
12 DX::Update::AddValue->new(
13 target_path => $self->target_path,
14 new_value => $self->new_value,
15 );
16}
17
181;