We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a21beb3 commit 25ea264Copy full SHA for 25ea264
lib/Github/Api/Integrations.php
@@ -2,12 +2,30 @@
2
3
namespace Github\Api;
4
5
+use Github\Api\AcceptHeaderTrait;
6
+
7
/**
8
* @link https://developer.github.com/v3/integrations/
9
* @author Nils Adermann <naderman@naderman.de>
10
*/
11
class Integrations extends AbstractApi
12
{
13
+ use AcceptHeaderTrait;
14
15
+ /**
16
+ * Configure the accept header for Early Access to the integrations api
17
+ *
18
+ * @see https://developer.github.com/v3/integrations/
19
20
+ * @return self
21
+ */
22
+ public function configure()
23
+ {
24
+ $this->acceptHeaderValue = 'application/vnd.github.machine-man-preview+json';
25
26
+ return $this;
27
+ }
28
29
30
* Create an access token for an installation
31
*
0 commit comments