mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-22 22:57:48 +09:00
Update dependencies
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace Github\Api;
|
||||
|
||||
use Github\Api\Deployment\Environments;
|
||||
use Github\Api\Deployment\Policies;
|
||||
use Github\Exception\MissingArgumentException;
|
||||
|
||||
/**
|
||||
@@ -130,4 +132,20 @@ class Deployment extends AbstractApi
|
||||
{
|
||||
return $this->get('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/deployments/'.$id.'/statuses');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Environments
|
||||
*/
|
||||
public function environments()
|
||||
{
|
||||
return new Environments($this->getClient());
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Policies
|
||||
*/
|
||||
public function policies()
|
||||
{
|
||||
return new Policies($this->getClient());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user