diff options
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 |