class ChefZero::Endpoints::NotFoundEndpoint
Public Instance Methods
call(request)
click to toggle source
# File lib/chef_zero/endpoints/not_found_endpoint.rb, line 6 def call(request) [404, { "Content-Type" => "application/json" }, FFI_Yajl::Encoder.encode({ "error" => ["Object not found: #{request.env["REQUEST_PATH"]}"] }, pretty: true)] end