From 2489a209f831f26934535461ecdc7f87bbfd1185 Mon Sep 17 00:00:00 2001 From: David Medina Date: Thu, 9 Feb 2012 02:06:44 +0100 Subject: Joining components in a clean interface --- pygithub3/github.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'pygithub3/github.py') diff --git a/pygithub3/github.py b/pygithub3/github.py index ff6ea1e..0bd3bf7 100644 --- a/pygithub3/github.py +++ b/pygithub3/github.py @@ -1,2 +1,15 @@ #!/usr/bin/env python # -*- encoding: utf-8 -*- + +from pygithub3.services.users import User + + +class GitHub(object): + """ Main entrance """ + + def __init__(self, **config): + self._users = User(**config) + + @property + def users(self): + return self._users -- cgit v1.2.3-59-g8ed1b