aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/resources/gists.py
diff options
context:
space:
mode:
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', '')