gitlab-haskell-0.2.5: A Haskell library for the GitLab web API
Copyright(c) Rob Stewart Heriot-Watt University 2020
LicenseBSD3
Maintainerrobstewart57@gmail.com
Stabilitystable
Safe HaskellNone
LanguageHaskell2010

GitLab.SystemHooks.GitLabSystemHooks

Description

 
Synopsis

Documentation

receive :: [Rule] -> GitLab () Source #

Attempts to fire each rule in sequence. Reads the JSON data received from the GitLab server from standard input.

receiveString :: String -> [Rule] -> GitLab () Source #

Attempts to fire each rule in sequence. Reads the JSON data received from a function argument.

tryFire :: String -> Rule -> GitLab Bool Source #

Try to fire a GitLab rule, returns True if the rule fired and False if it did not fire.