Group
Extension

Matches 1

Slack-WebHook ( A/AT/ATOOMIC/Slack-WebHook-0.003.tar.gz, ATOOMIC, 2020; MetaCPAN )
Slack-WebHook/lib/Slack/WebHook.pm ( view source; MetaCPAN )
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

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