blob: b7021af425be04ba51f9d090371a9eb9224516c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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, #{ChefZero::Dist::CLIENT} says 410.")
end
def post(request)
error(410, "Server says 410, #{ChefZero::Dist::CLIENT} says 410.")
end
end
end
end
|