class WebhooksClient

Traits

Properties

protected $curl from CICommon
protected $api_url from CICommon

Methods

__construct(Curl $curl, string $api_url)

CICommon constructor.

from CICommon
mixed
getWebhooks(bool $raw, string $username, string $project)

No description

mixed
setWebhooks($data, string $username, string $repo, string $id)

No description

mixed
unsetWebhooks(string $username, string $repo, string $id)

No description

getStatus(string $url, string $username, string $repo_name)

No description

Details

in CICommon at line 18
__construct(Curl $curl, string $api_url)

CICommon constructor.

Parameters

Curl $curl
string $api_url

at line 19
mixed getWebhooks(bool $raw, string $username, string $project)

Parameters

bool $raw
string $username
string $project

Return Value

mixed

Exceptions

Exception

at line 47
mixed setWebhooks($data, string $username, string $repo, string $id)

Parameters

$data
string $username
string $repo
string $id

Return Value

mixed

Exceptions

Exception

at line 59
mixed unsetWebhooks(string $username, string $repo, string $id)

Parameters

string $username
string $repo
string $id

Return Value

mixed

Exceptions

Exception

at line 66
getStatus(string $url, string $username, string $repo_name)

Parameters

string $url
string $username
string $repo_name