diff options
author | Tensibai <tensibai@iabis.net> | 2019-04-24 09:41:14 +0000 |
---|---|---|
committer | Tensibai <tensibai@iabis.net> | 2019-04-25 20:11:19 +0000 |
commit | d1cbc518206f7c29a53f344dd35b2d6880e0faa1 (patch) | |
tree | c8d17536a1a6b67a40eb809d359b4e48bcb3b0c0 /lib/chef_zero/endpoints/controls_endpoint.rb | |
parent | 5873d906942770a34f0cf0fed05973ec3240a275 (diff) | |
download | chef-zero-d1cbc518206f7c29a53f344dd35b2d6880e0faa1.tar.gz |
Initial brand refactoring
Signed-off-by: Tensibai <tensibai@iabis.net>
Diffstat (limited to 'lib/chef_zero/endpoints/controls_endpoint.rb')
-rw-r--r-- | lib/chef_zero/endpoints/controls_endpoint.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/chef_zero/endpoints/controls_endpoint.rb b/lib/chef_zero/endpoints/controls_endpoint.rb index 5790d7f..b7021af 100644 --- a/lib/chef_zero/endpoints/controls_endpoint.rb +++ b/lib/chef_zero/endpoints/controls_endpoint.rb @@ -1,14 +1,15 @@ +require "chef_zero/dist" 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.") + error(410, "Server says 410, #{ChefZero::Dist::CLIENT} says 410.") end def post(request) - error(410, "Server says 410, chef-zero says 410.") + error(410, "Server says 410, #{ChefZero::Dist::CLIENT} says 410.") end end end |