Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions lib/Github/Api/Integrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,30 @@

namespace Github\Api;

use Github\Api\AcceptHeaderTrait;

/**
* @link https://developer.github.com/v3/integrations/
* @author Nils Adermann <[email protected]>
*/
class Integrations extends AbstractApi
{
use AcceptHeaderTrait;

/**
* Configure the accept header for Early Access to the integrations api
*
* @see https://developer.github.com/v3/integrations/
*
* @return self
*/
public function configure()
{
$this->acceptHeaderValue = 'application/vnd.github.machine-man-preview+json';

return $this;
}

/**
* Create an access token for an installation
*
Expand Down