summaryrefslogtreecommitdiff
path: root/ick2/workerapi.py
diff options
context:
space:
mode:
Diffstat (limited to 'ick2/workerapi.py')
-rw-r--r--ick2/workerapi.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/ick2/workerapi.py b/ick2/workerapi.py
index 2e53758..7f2f0b7 100644
--- a/ick2/workerapi.py
+++ b/ick2/workerapi.py
@@ -21,30 +21,6 @@ class WorkerAPI(ick2.ResourceApiBase): # pragma: no cover
def __init__(self, state):
super().__init__('workers', state)
- def get_routes(self, path):
- return [
- {
- 'method': 'POST',
- 'path': path,
- 'callback': self.POST(self.create),
- },
- {
- 'method': 'GET',
- 'path': path,
- 'callback': self.GET(self.list),
- },
- {
- 'method': 'GET',
- 'path': '{}/<name>'.format(path),
- 'callback': self.GET(self.show),
- },
- {
- 'method': 'DELETE',
- 'path': '{}/<name>'.format(path),
- 'callback': self.DELETE(self.delete),
- },
- ]
-
def get_resource_name(self, resource):
return resource['worker']