diff options
| author | 2011-10-29 02:46:02 +0200 | |
|---|---|---|
| committer | 2011-10-29 02:46:02 +0200 | |
| commit | beebe5c3bd0a2016468953909ed8f09723e224bd (patch) | |
| tree | 674f4c6ef66888fb6c06cec2e1dfb50671d8ec88 | |
| parent | Update requests (fixs with auth) (diff) | |
| download | python-github3-beebe5c3bd0a2016468953909ed8f09723e224bd.tar.xz python-github3-beebe5c3bd0a2016468953909ed8f09723e224bd.zip | |
Testing post gist
| -rw-r--r-- | github3/api.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/github3/api.py b/github3/api.py index 81ae3e7..4cb0199 100644 --- a/github3/api.py +++ b/github3/api.py @@ -217,6 +217,9 @@ class Github(GithubCore): """Get organization.""" return self._get_resource(('orgs', login), Org) + def post_gist(self, json_data): + self.session.post(settings.base_url+'gist', json_data) + class ResponseError(Exception): """The API Response was unexpected.""" |
