Skip to content

Commit 282c3bc

Browse files
committed
Add class name to GistFile classes
1 parent ed5f123 commit 282c3bc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

github3/gists/file.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class ShortGistFile(_GistFile):
5757
The file size in bytes.
5858
"""
5959

60-
pass
60+
class_name = 'ShortGistFile'
6161

6262

6363
class GistFile(_GistFile):
@@ -79,6 +79,8 @@ class GistFile(_GistFile):
7979
8080
"""
8181

82+
class_name = 'GistFile'
83+
8284
def _update_attributes(self, gistfile):
8385
super(GistFile, self)._update_attributes(gistfile)
8486
self.original_content = gistfile['content']

0 commit comments

Comments
 (0)