1 package DX::Role::SimpleAction;
5 has target_path => (is => 'ro', required => 1);
7 has _updates => (is => 'lazy');
9 requires '_build__updates';
12 my ($self, $hyp) = @_;
13 my ($scope, @events) = $hyp->scope->apply_updates($self->_updates);
17 actions => [ @{$hyp->actions}, $self ],
23 sub run { shift->updates }