aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/services/repos.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-02-29 01:22:16 +0100
committerDavid Medina <davidmedina9@gmail.com>2012-02-29 01:22:16 +0100
commitd5a26bd35820b1cb3de991fd45460345b9d3f492 (patch)
treedb935b1c504b86b4208946f9e15c3d89b04611db /pygithub3/services/repos.py
parentRepos.watchers service done (diff)
downloadpython-github3-d5a26bd35820b1cb3de991fd45460345b9d3f492.tar.xz
python-github3-d5a26bd35820b1cb3de991fd45460345b9d3f492.zip
Init documentation
+core +services.user ~services.repos
Diffstat (limited to 'pygithub3/services/repos.py')
-rw-r--r--pygithub3/services/repos.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pygithub3/services/repos.py b/pygithub3/services/repos.py
index b20d317..3643633 100644
--- a/pygithub3/services/repos.py
+++ b/pygithub3/services/repos.py
@@ -148,7 +148,7 @@ class Commits(Service, MimeTypeMixin):
self._delete(request)
-class Collaborator(Service):
+class Collaborators(Service):
def list(self, user=None, repo=None):
request = self.make_request('repos.collaborators.list',
@@ -172,9 +172,10 @@ class Collaborator(Service):
class Repo(Service):
+ """ Consume `Repos API <http://developer.github.com/v3/repos>`_ """
def __init__(self, **config):
- self.collaborators = Collaborator(**config)
+ self.collaborators = Collaborators(**config)
self.commits = Commits(**config)
self.downloads = Downloads(**config)
self.forks = Forks(**config)