use LWP::UserAgent;
use English '-no_match_vars';
use HTTP::Request::Common qw(POST);
use JSON qw(decode_json);
use File::Temp;
use File::HomeDir;
use Cwd;
use Scope::Guard;
use Ukigumo::Constants;
to @{[ $self->server_url ]}/api/v1/report/add:\n" . $res->as_string;
my $dat = eval { decode_json($res->decoded_content) } || $res->decoded_content . " : $@";
$self->logger->infof("report url
kigumo::Client::Notify::GitHubStatuses;
use strict;
use warnings;
use utf8;
use Mouse;
use JSON qw/encode_json/;
use Ukigumo::Constants;
has 'api_endpoint' => (
is => 'ro',
isa =>
state || !$description) {
# Nothing to do
return;
}
my $payload = encode_json({
state => $state,
target_url => $report_url,
description => $desc