-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added base api integrations endpoint required for add edge script api…
… endpoint; updated docs
- Loading branch information
Showing
4 changed files
with
117 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace ToshY\BunnyNet\Model\API\Base\Integration; | ||
|
||
use ToshY\BunnyNet\Enum\Header; | ||
use ToshY\BunnyNet\Enum\Method; | ||
use ToshY\BunnyNet\Model\EndpointInterface; | ||
|
||
/** | ||
* @note undocumented | ||
*/ | ||
class GetGitHubIntegrations implements EndpointInterface | ||
{ | ||
public function getMethod(): Method | ||
{ | ||
return Method::GET; | ||
} | ||
|
||
public function getPath(): string | ||
{ | ||
return 'integration/github'; | ||
} | ||
|
||
public function getHeaders(): array | ||
{ | ||
return [ | ||
Header::ACCEPT_JSON, | ||
]; | ||
} | ||
} |