aboutsummaryrefslogtreecommitdiffstats
path: root/github3/handlers
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2011-11-01 22:23:24 +0100
committerDavid Medina <davidmedina9@gmail.com>2011-11-01 22:23:24 +0100
commitaeed4c5cac8834d4a2b0a0da05467b171fbe857b (patch)
treefaa3707201bd087a2c4dda1434d8aff81d129c23 /github3/handlers
parentFix bug generate_url (diff)
downloadpython-github3-aeed4c5cac8834d4a2b0a0da05467b171fbe857b.tar.xz
python-github3-aeed4c5cac8834d4a2b0a0da05467b171fbe857b.zip
Add get_bool request
Diffstat (limited to 'github3/handlers')
-rw-r--r--github3/handlers/base.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/github3/handlers/base.py b/github3/handlers/base.py
index 3bd4bd1..92cd73a 100644
--- a/github3/handlers/base.py
+++ b/github3/handlers/base.py
@@ -17,6 +17,10 @@ class Handler(object):
url = self._extend_url(*args)
return self._gh._get_raw(url, **kwargs)
+ def _get_bool(self, *args):
+ url = self._extend_url(*args)
+ return self._gh._get_bool(url)
+
def _get_resource(self, *args, **kwargs):
url = self._extend_url(*args)
map_model = kwargs.get('model', self._model)