summaryrefslogtreecommitdiff
path: root/lib/chef_zero/endpoints/controls_endpoint.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef_zero/endpoints/controls_endpoint.rb')
-rw-r--r--lib/chef_zero/endpoints/controls_endpoint.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/chef_zero/endpoints/controls_endpoint.rb b/lib/chef_zero/endpoints/controls_endpoint.rb
new file mode 100644
index 0000000..5790d7f
--- /dev/null
+++ b/lib/chef_zero/endpoints/controls_endpoint.rb
@@ -0,0 +1,15 @@
+module ChefZero
+ module Endpoints
+ # /organizations/ORG/controls
+ class ControlsEndpoint < RestBase
+ # ours is not to wonder why; ours is but to make the pedant specs pass.
+ def get(request)
+ error(410, "Server says 410, chef-zero says 410.")
+ end
+
+ def post(request)
+ error(410, "Server says 410, chef-zero says 410.")
+ end
+ end
+ end
+end