Commit 89c2029a authored by test's avatar test

Hoster: Add repository method to expose Repository

Closes #30
parent c8c6e725
......@@ -267,4 +267,4 @@ class GitHubRepository(Repository):
>>> isinstance(iss, GitHubIssue)
True
"""
return GitHubIssue.create(self._token, self.name, title, body)
return GitHubIssue.create(self._token, self.full_name, title, body)
......@@ -25,3 +25,9 @@ class Hoster:
:return: A set of strings.
"""
raise NotImplementedError
def get_repo(self, repository):
"""
Return a repository object.
"""
raise NotImplementedError
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment