Class Github\Api\CurrentUser\DeployKeys

InheritanceGithub\Api\CurrentUser\DeployKeys » Github\Api\AbstractApi
ImplementsGithub\Api\ApiInterface

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() Github\Api\AbstractApi
all() List deploy keys for the authenticated user. Github\Api\CurrentUser\DeployKeys
configure() Github\Api\AbstractApi
create() Adds deploy key for the authenticated user. Github\Api\CurrentUser\DeployKeys
getPerPage() Github\Api\AbstractApi
remove() Removes deploy key for the authenticated user. Github\Api\CurrentUser\DeployKeys
setPerPage() Github\Api\AbstractApi
show() Shows deploy key for the authenticated user. Github\Api\CurrentUser\DeployKeys
update() Updates deploy key for the authenticated user. Github\Api\CurrentUser\DeployKeys

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
createJsonBody() Create a JSON encoded version of an array of parameters. Github\Api\AbstractApi
delete() Send a DELETE request with JSON-encoded parameters. Github\Api\AbstractApi
get() Send a GET request with query parameters. Github\Api\AbstractApi
head() Send a HEAD request with query parameters. Github\Api\AbstractApi
patch() Send a PATCH request with JSON-encoded parameters. Github\Api\AbstractApi
post() Send a POST request with JSON-encoded parameters. Github\Api\AbstractApi
postRaw() Send a POST request with raw data. Github\Api\AbstractApi
put() Send a PUT request with JSON-encoded parameters. Github\Api\AbstractApi

Method Details

all() public method

List deploy keys for the authenticated user.

public array all ( )
create() public method

Adds deploy key for the authenticated user.

public array create ( array $params )
$params array
throws Github\Exception\MissingArgumentException
remove() public method

Removes deploy key for the authenticated user.

public array remove ( $id )
$id string
show() public method

Shows deploy key for the authenticated user.

public array show ( $id )
$id string
update() public method

Updates deploy key for the authenticated user.

public array update ( $id, array $params )
$id string
$params array
throws Github\Exception\MissingArgumentException