Add class name to GistFile classes
@@ -57,7 +57,7 @@ class ShortGistFile(_GistFile):
The file size in bytes.
"""
- pass
+ class_name = 'ShortGistFile'
class GistFile(_GistFile):
@@ -79,6 +79,8 @@ class GistFile(_GistFile):
"""
+ class_name = 'GistFile'
+
def _update_attributes(self, gistfile):
super(GistFile, self)._update_attributes(gistfile)
self.original_content = gistfile['content']
