seregazhuk\PinterestBot\Api\Traits\Followable::followCall PHP Method

followCall() protected method

Make api call for follow/unFollow a entity (user/board).
protected followCall ( integer $entityId, string $resourceUrl ) : boolean
$entityId integer
$resourceUrl string
return boolean
    protected function followCall($entityId, $resourceUrl)
    {
        $result = $this->request->exec($resourceUrl, $this->createFollowRequestQuery($entityId));
        $this->processResult($result);
        return $this->response->isOk();
    }