Files
PyGithub/github/GithubObjects/GistComment.py
T
2012-03-14 22:56:08 +01:00

16 lines
374 B
Python

from GithubObject import *
from NamedUser import NamedUser
GistComment = GithubObject(
"GistComment",
BaseUrl( lambda obj: "/gists/comments/" + str( obj.id ) ),
InternalSimpleAttributes(
"id", "url", "body", "created_at",
"updated_at",
),
InternalObjectAttribute( "user", NamedUser ),
Editable( [ "body" ], [] ),
Deletable(),
)