aboutsummaryrefslogtreecommitdiffstats
path: root/github3/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'github3/api.py')
-rw-r--r--github3/api.py3
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."""