Healthchecks

 view release on metacpan or  search on metacpan

lib/Healthchecks.pm  view on Meta::CPAN

 Purpose   : Update the configuration of a check
 Returns   : A hash, representation of a single check.
 Argument  : The check's UUID (MANDATORY) and a hash of the check’s options (see API documentation)
             OPTIONAL
 See       : https://healthchecks.io/docs/api/#update-check

=cut

#################### subroutine header end ####################

sub update_check($c, $uuid, $data){
    return $c->_execute({
        api    => 'v1/checks/'.$uuid,
        method => 'post',
        data   => $data
    });
}

#################### subroutine header begin ####################

=head3 pause_check

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.493 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )