Skip to content

Commit 6c8124b

Browse files
omarlopesinom1guelpf
authored andcommitted
Add method in Projects Class to get project boards
1 parent 3a3f674 commit 6c8124b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/Gitlab/Api/Projects.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,16 @@ public function issues($project_id, $parameters = array())
366366
{
367367
return $this->get($this->getProjectPath($project_id, 'issues'), $parameters);
368368
}
369+
370+
/**
371+
* @param int $project_id
372+
* @return mixed
373+
*/
374+
public function boards($project_id, $parameters = array())
375+
{
376+
return $this->get($this->getProjectPath($project_id, 'boards'), $parameters);
377+
}
378+
369379
/**
370380
* @param int $project_id
371381
* @param string $url

0 commit comments

Comments
 (0)