File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -34,4 +34,4 @@ Having individual handlers as we have now which modify the payload to use our
34
34
objects when available is more sensible.
35
35
36
36
.. links
37
- .. _type : http ://developer.github.com/v3/events/types
37
+ .. _type : https ://developer.github.com/v3/activity /events/types
Original file line number Diff line number Diff line change 14
14
class Event (GitHubCore ):
15
15
16
16
"""The :class:`Event <Event>` object. It structures and handles the data
17
- returned by via the `Events <http://developer.github.com/v3/events>`_
18
- section of the GitHub API.
17
+ returned by via the
18
+ `Events <https://developer.github.com/v3/activity/events>`_ section
19
+ of the GitHub API.
19
20
20
21
Two events can be compared like so::
21
22
@@ -42,7 +43,7 @@ def _update_attributes(self, event):
42
43
self .org = None
43
44
if event .get ('org' ):
44
45
self .org = Organization (event .get ('org' ))
45
- #: Event type http ://developer.github.com/v3/activity/events/types/
46
+ #: Event type https ://developer.github.com/v3/activity/events/types/
46
47
self .type = event .get ('type' )
47
48
handler = _payload_handlers .get (self .type , identity )
48
49
#: Dictionary with the payload. Payload structure is defined by type_.
You can’t perform that action at this time.
0 commit comments