diff options
author | 2012-04-03 19:06:02 +0200 | |
---|---|---|
committer | 2012-04-03 19:06:02 +0200 | |
commit | 30033cb33d828d96492c429407977a9f7912bf28 (patch) | |
tree | 4b2804b3cc2391f19325dbe302b95a0c98a87b65 /pygithub3/resources/gists.py | |
parent | services.gists.Gist done (diff) | |
download | python-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.py | 8 |
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', '') |