Group
Extension

Matches 1

Slack-Notify ( R/RO/ROBN/Slack-Notify-0.006.tar.gz, ROBN, 2024; MetaCPAN )
Slack-Notify/lib/Slack/Notify.pm ( view source; MetaCPAN )
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

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.