Skip to content

Commit

Permalink
move into own class & create manager class
Browse files Browse the repository at this point in the history
  • Loading branch information
therealgambo committed Jun 19, 2016
1 parent cd13aff commit eb6c26f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gitlab/objects.py
Expand Up @@ -717,6 +717,12 @@ def search(self, query, **kwargs):
url = '/groups?search=' + query
return self.gitlab._raw_list(url, self.obj_cls, **kwargs)


class GroupProjectManager(BaseManager):
obj_cls = GroupProject


class GroupProject(GitlabObject):
def list_projects(self, gid, **kwargs):
"""List projects in a group
Expand Down

0 comments on commit eb6c26f

Please sign in to comment.