Skip to content

Commit

Permalink
Merge pull request #167 from srijan/develop
Browse files Browse the repository at this point in the history
Updates api reference url in docstrings for repository keys
  • Loading branch information
jacquev6 committed May 22, 2013
2 parents e1c7052 + 161097b commit 42edda3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions github/RepositoryKey.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

class RepositoryKey(github.GithubObject.CompletableGithubObject):
"""
This class represents RepositoryKeys as returned for example by http://developer.github.com/v3/todo
This class represents RepositoryKeys as returned for example by http://developer.github.com/v3/keys
"""

def __init__(self, requester, attributes, completed, repoUrl):
Expand Down Expand Up @@ -72,7 +72,7 @@ def verified(self):

def delete(self):
"""
:calls: `DELETE /repos/:user/:repo/keys/:id <http://developer.github.com/v3/todo>`_
:calls: `DELETE /repos/:user/:repo/keys/:id <http://developer.github.com/v3/keys>`_
:rtype: None
"""
headers, data = self._requester.requestJsonAndCheck(
Expand All @@ -84,7 +84,7 @@ def delete(self):

def edit(self, title=github.GithubObject.NotSet, key=github.GithubObject.NotSet):
"""
:calls: `PATCH /repos/:user/:repo/keys/:id <http://developer.github.com/v3/todo>`_
:calls: `PATCH /repos/:user/:repo/keys/:id <http://developer.github.com/v3/keys>`_
:param title: string
:param key: string
:rtype: None
Expand Down

0 comments on commit 42edda3

Please sign in to comment.