e JSON::MaybeXS ();
has hook_url => ( is => 'ro', isa => Str, required => 1 );
has _http => ( is => 'lazy', isa => class_type('HTTP::Tiny') );
sub _build__http { HTTP::Tiny->new }
my $JSON = JSON::
k::Notify::Payload->new(%args);
$self->_http->post_form(
$self->hook_url,
{ payload => $JSON->encode($payload->to_hash) },
);
}
}
package # hide from PAUSE
Slack::Notify::Payload;
{
u