ated by DZP::OurPkgVersion
}
use Simple::Accessor qw{
url
json
auto_detect_utf8
_http
_started_at
};
use HTTP::Tiny;
use JSON::XS ();
use Encode ();
use constant SLACK_COLOR_START =>
efault_headers => {
'Content-Type' => 'application/json; charset=UTF-8',
}
);
}
sub _build_json {
return JSON::XS->new->utf8(0)->pretty(1);
}
# by default on
sub _build_a
}
}
return $self->_http->post_form(
$self->url,
{ payload => $self->json->encode($data) },
);
}
1;
__END__
=pod
=encoding utf-8
=head1 NAME
Slack::WebHook - Sl