src/Model/Project.php
public function addIntegration($type, array $data = [])
    {
        $body = ['type' => $type] + $data;

        return Integration::create($body, $this->getLink('integrations'), $this->client);
    }
public function addIntegration($type, array $data = [])
    {
        $body = ['type' => $type] + $data;

        return Integration::create($body, $this->getLink('integrations'), $this->client);
    }
public function addIntegration ( $ type , array $ data = [ ] ) { $ body = [ 'type' => $ type ] + $ data ; return Integration :: create ( $ body , $ this -> getLink ( 'integrations' ) , $ this -> client ) ; }
Add an integration to the project.

@param string $type
@param array $data

@return Result
Add an integration to the project .