Method to create a status.
object
create
(string $user, string $repo, string $sha, string $state, [string $targetUrl = null], [string $description = null])
-
string
$user: The name of the owner of the GitHub repository.
-
string
$repo: The name of the GitHub repository.
-
string
$sha: The SHA1 value for which to set the status.
-
string
$state: The state (pending, success, error or failure).
-
string
$targetUrl: Optional target URL.
-
string
$description: Optional description for the status.
Method to list statuses for an SHA.
array
getList
(string $user, string $repo, string $sha)
-
string
$user: The name of the owner of the GitHub repository.
-
string
$repo: The name of the GitHub repository.
-
string
$sha: SHA1 for which to get the statuses.
Inherited Methods
Inherited From JGithubObject
JGithubObject::__construct()
JGithubObject::fetchUrl()
JGithubObject::processResponse()