| 1 | # ABSTRACT: The result from running a remote Action | ||||||||||
| 2 | |||||||||||
| 3 | package Pinto::Remote::Result; | ||||||||||
| 4 | |||||||||||
| 5 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 1 | ▶ | use MooseX::Types::Moose qw(Bool); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | #----------------------------------------------------------------------------- | ||||||||||
| 10 | |||||||||||
| 11 | 1 | our $VERSION = '0.14'; # VERSION | |||||||||
| 12 | |||||||||||
| 13 | #------------------------------------------------------------------------------ | ||||||||||
| 14 | |||||||||||
| 15 | 1 | has was_successful => ( | |||||||||
| 16 | is => 'ro', | ||||||||||
| 17 | isa => Bool, | ||||||||||
| 18 | default => 0, | ||||||||||
| 19 | ); | ||||||||||
| 20 | |||||||||||
| 21 | #----------------------------------------------------------------------------- | ||||||||||
| 22 | |||||||||||
| 23 | |||||||||||
| 24 | 0 | ▶ | sub exit_status { | ||||||||
|
Subroutine
exit_status: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 25 | 0 | my ($self) = @_; | |||||||||
| 26 | 0 | ▶ | return $self->was_successful ? 0 : 1; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 27 | } | ||||||||||
| 28 | |||||||||||
| 29 | #----------------------------------------------------------------------------- | ||||||||||
| 30 | |||||||||||
| 31 | 1 | __PACKAGE__->meta->make_immutable; | |||||||||
| 32 | |||||||||||
| 33 | #----------------------------------------------------------------------------- | ||||||||||
| 34 | 1 | 1; | |||||||||
| 35 | |||||||||||
| 36 | __END__ | ||||||||||