\JGithubHooks
GitHub API Hooks class for the Joomla Platform.
Synopsis
class JGithubHooks
extends JGithubObject
{
- // members
- protected $events;
- // Inherited methods from JGithubObject
- public void __construct()
- protected string fetchUrl()
- protected mixed processResponse()
Hierarchy
Extends
Members
protected
- $client — JGithubHttp
- $events
—
array
Array containing the allowed hook events - $options — JRegistry
Methods
public
- create() — Method to create a hook on a repository.
- delete() — Method to delete a hook
- edit() — Method to edit a hook.
- get() — Method to get details about a single hook for the repository.
- getList() — Method to list hooks for a repository.
- test() — Method to test a hook against the latest repository commit
Inherited from JGithubObject
protected
- fetchUrl() — Method to build and return a full request URL for the request. This method will add appropriate pagination details if necessary and also prepend the API url to have a complete URL for the request.
- processResponse() — Process the response and decode it.