24 lines
474 B
PHP
24 lines
474 B
PHP
|
<?php
|
||
|
|
||
|
namespace Github\Api;
|
||
|
|
||
|
/**
|
||
|
* Getting GitHub service information.
|
||
|
*
|
||
|
* @link https://developer.github.com/v3/meta/
|
||
|
*
|
||
|
* @author Claude Dioudonnat <claude.dioudonnat@gmail.com>
|
||
|
*/
|
||
|
class Meta extends AbstractApi
|
||
|
{
|
||
|
/**
|
||
|
* Get the ip address of the hook and git servers for the GitHub.com service.
|
||
|
*
|
||
|
* @return array Information about the service of GitHub.com
|
||
|
*/
|
||
|
public function service()
|
||
|
{
|
||
|
return $this->get('/meta');
|
||
|
}
|
||
|
}
|