wishthis/vendor/knplabs/github-api/lib/Github/Api/Meta.php

24 lines
474 B
PHP
Raw Normal View History

2022-01-21 08:23:52 +00:00
<?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');
}
}