aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/requests/issues/events.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-06-16 13:56:29 +0200
committerDavid Medina <davidmedina9@gmail.com>2012-06-16 13:58:12 +0200
commit107b12b3b48040488ff6ddd54cb1300200dc8b37 (patch)
treef35c57bb8b5c5cd85511aaad1c0df0e4f97c0c25 /pygithub3/requests/issues/events.py
parentMerge #5 'services/orgs' (diff)
parentTests on services.issues working (diff)
downloadpython-github3-107b12b3b48040488ff6ddd54cb1300200dc8b37.tar.xz
python-github3-107b12b3b48040488ff6ddd54cb1300200dc8b37.zip
Merge #12 'services/issues'
Diffstat (limited to 'pygithub3/requests/issues/events.py')
-rw-r--r--pygithub3/requests/issues/events.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/pygithub3/requests/issues/events.py b/pygithub3/requests/issues/events.py
new file mode 100644
index 0000000..dfefe7e
--- /dev/null
+++ b/pygithub3/requests/issues/events.py
@@ -0,0 +1,22 @@
+#!/usr/bin/env python
+# -*- encoding: utf-8 -*-
+
+from pygithub3.requests.base import Request, ValidationError
+from pygithub3.resources.issues import Event
+
+class List_by_issue(Request):
+
+ uri = 'repos/{user}/{repo}/issues/{number}/events'
+ resource = Event
+
+
+class List_by_repo(Request):
+
+ uri = 'repos/{user}/{repo}/issues/events'
+ resource = Event
+
+
+class Get(Request):
+
+ uri = 'repos/{user}/{repo}/issues/events/{id}'
+ resource = Event