1 package DX::Role::SimpleAction;
5 with 'DX::Role::Action';
7 has target_path => (is => 'ro', required => 1);
9 has _updates => (is => 'lazy');
11 requires '_build__updates';
14 my ($self, $hyp) = @_;
15 my ($scope, @events) = $hyp->scope->apply_updates($self->_updates);
19 actions => [ @{$hyp->actions}, $self ],
20 action_applications => [ @{$hyp->action_applications}, $self ],
26 sub run { shift->updates }