Group
Extension

Matches 1

App-GitHooks-Plugin-NotifyReleasesToSlack ( A/AU/AUBERTG/App-GitHooks-Plugin-NotifyReleasesToSlack-v1.1.1.tar.gz, AUBERTG, 2016; MetaCPAN )
App-GitHooks-Plugin-NotifyReleasesToSlack/lib/App/GitHooks/Plugin/NotifyReleasesToSlack.pm ( view source; MetaCPAN )
 base 'App::GitHooks::Plugin';

# External dependencies.
use CPAN::Changes;
use Data::Dumper;
use JSON qw();
use LWP::UserAgent;
use Log::Any qw($log);
use Try::Tiny;

# Internal dependencies.
use App
lack, check under "Integration
settings" for the following information: "Webhook URL", "Send your JSON
payloads to this URL". This is the URL you need to set as the value for the
C<slack_post_url> con
%s', $channel, $message );

		# Prepare payload for the request.
		my $request_payload =
			JSON::encode_json(
				{
					text     => $message,
					channel  => $channel,
				}
			);

		# Prepare requ

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