aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/requests/issues/events.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-06-03 13:02:54 +0200
committerDavid Medina <davidmedina9@gmail.com>2012-06-03 13:02:54 +0200
commit897671db979e64754de2c53cbbe83fcbae37bb02 (patch)
tree11ac9ede303971d2bcaf270d833fd4112c923509 /pygithub3/requests/issues/events.py
parentMerge 'services/orgs' (diff)
parentChange "Edit" to "Update" in docstring (diff)
downloadpython-github3-897671db979e64754de2c53cbbe83fcbae37bb02.tar.xz
python-github3-897671db979e64754de2c53cbbe83fcbae37bb02.zip
Merge branch 'services/issues' of https://github.com/alejandrogomez/python-github3 into services/issues
Conflicts: docs/services.rst pygithub3/github.py pygithub3/requests/repos/__init__.py
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