diff options
author | 2012-02-12 17:53:07 +0100 | |
---|---|---|
committer | 2012-02-12 18:37:02 +0100 | |
commit | 3371f0aabc61dfc8549f0752ccc83aef06df61e8 (patch) | |
tree | 1fa6291a13ca8f3acdf2eed459be2ea08b7602d0 /pygithub3/resources/orgs.py | |
parent | Support to map `self` in resources. (diff) | |
download | python-github3-3371f0aabc61dfc8549f0752ccc83aef06df61e8.tar.xz python-github3-3371f0aabc61dfc8549f0752ccc83aef06df61e8.zip |
Repos service initialized
+service.repos.repo
Diffstat (limited to 'pygithub3/resources/orgs.py')
-rw-r--r-- | pygithub3/resources/orgs.py | 14 |
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', '') |