From beebe5c3bd0a2016468953909ed8f09723e224bd Mon Sep 17 00:00:00 2001 From: David Medina Date: Sat, 29 Oct 2011 02:46:02 +0200 Subject: Testing post gist --- github3/api.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'github3') 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.""" -- cgit v1.2.3-59-g8ed1b