aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/resources/gists.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-04-03 19:06:02 +0200
committerDavid Medina <davidmedina9@gmail.com>2012-04-03 19:06:02 +0200
commit30033cb33d828d96492c429407977a9f7912bf28 (patch)
tree4b2804b3cc2391f19325dbe302b95a0c98a87b65 /pygithub3/resources/gists.py
parentservices.gists.Gist done (diff)
downloadpython-github3-30033cb33d828d96492c429407977a9f7912bf28.tar.xz
python-github3-30033cb33d828d96492c429407977a9f7912bf28.zip
services.gists.Comment done
Diffstat (limited to 'pygithub3/resources/gists.py')
-rw-r--r--pygithub3/resources/gists.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/pygithub3/resources/gists.py b/pygithub3/resources/gists.py
index 8345f84..7e9550a 100644
--- a/pygithub3/resources/gists.py
+++ b/pygithub3/resources/gists.py
@@ -35,3 +35,11 @@ class Gist(Resource):
def __str__(self):
return '<Gist (%s)>' % getattr(self, 'description', '')
+
+class Comment(Resource):
+
+ _dates = ('created_at', )
+ _maps = {'user': User}
+
+ def __str__(self):
+ return '<GistComment (%s)>' % getattr(self, 'user', '')