Skip to content

Commit 4924fcb

Browse files
jkradutopala
authored andcommitted
Add deploy keys to projects api (#157)
* Add deploy keys to projects api * Coding Style fix
1 parent 68226cc commit 4924fcb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/Gitlab/Api/Projects.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,15 @@ public function removeMember($project_id, $user_id)
234234
return $this->delete($this->getProjectPath($project_id, 'members/'.urldecode($user_id)));
235235
}
236236

237+
/**
238+
* @param int $project_id
239+
* @return mixed
240+
*/
241+
public function deployKeys($project_id)
242+
{
243+
return $this->get($this->getProjectPath($project_id, 'deploy_keys'));
244+
}
245+
237246
/**
238247
* @param int $project_id
239248
* @param int $page

0 commit comments

Comments
 (0)