aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/resources/orgs.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pygithub3/resources/orgs.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/pygithub3/resources/orgs.py b/pygithub3/resources/orgs.py
new file mode 100644
index 0000000..3996172
--- /dev/null
+++ b/pygithub3/resources/orgs.py
@@ -0,0 +1,14 @@
+#!/usr/bin/env python
+# -*- encoding: utf-8 -*-
+
+from .base import Resource
+
+__all__ = ('Org', )
+
+
+class Org(Resource):
+
+ _dates = ('created_at', )
+
+ def __str__(self):
+ return '<Org (%s)>' % getattr(self, 'name', '')