diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-12-15 17:40:22 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-12-15 17:40:22 +0200 |
commit | 645678c71181369dd3edd86f5d90218f4cd4e25a (patch) | |
tree | cf50a9f7524b41f804fba860daef541841a591ff /ick2/apibase.py | |
parent | 596f183402874717326d93c72ab16fb96f746c3c (diff) | |
download | ick2-645678c71181369dd3edd86f5d90218f4cd4e25a.tar.gz |
Add: ApiBase.get_state method
Diffstat (limited to 'ick2/apibase.py')
-rw-r--r-- | ick2/apibase.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ick2/apibase.py b/ick2/apibase.py index 088a2b6..c0b1aa5 100644 --- a/ick2/apibase.py +++ b/ick2/apibase.py @@ -21,6 +21,9 @@ class APIbase: def __init__(self, state): self._state = state + def get_state(self): + return self._state + def get_routes(self, path): return [ { |