aboutsummaryrefslogtreecommitdiffstats
path: root/src/testarchive/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/testarchive/views.py')
-rw-r--r--src/testarchive/views.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testarchive/views.py b/src/testarchive/views.py
new file mode 100644
index 00000000..a7812dc3
--- /dev/null
+++ b/src/testarchive/views.py
@@ -0,0 +1,8 @@
+from rest.resource import Resource
+
+class RootResource(Resource):
+ """This is my docstring
+ """
+
+ def handle_get(self, headers={}, *args, **kwargs):
+ return (200, {'Name': 'Test', 'Value': 1}, {'Location': 'BLAH'})