From c12e2e71c900f3e21862f937da2cbd8b58a9111c Mon Sep 17 00:00:00 2001 From: Ivan Nikolic Date: Tue, 17 Feb 2015 13:28:21 +0100 Subject: [PATCH] Add config object --- parse_rest/config.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 parse_rest/config.py diff --git a/parse_rest/config.py b/parse_rest/config.py new file mode 100644 index 0000000..082c670 --- /dev/null +++ b/parse_rest/config.py @@ -0,0 +1,11 @@ +from parse_rest.connection import API_ROOT +from parse_rest.datatypes import ParseResource + + +class Config(ParseResource): + ENDPOINT_ROOT = '/'.join([API_ROOT, 'config']) + + @classmethod + def get(cls): + return cls.GET('').get('params') +