package DX::Action::SetValue;

use DX::Update::SetValue;
use DX::Class;

with 'DX::Role::SimpleAction';

has new_value => (is => 'ro', required => 1);

sub _build__updates {
  my ($self) = @_;
  DX::Update::SetValue->new(
    target_path => $self->target_path,
    new_value => $self->new_value,
  );
}

1;
