blob: 21ad9117ed48f56c0001fda63e347341dde3bf68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# frozen_string_literal: true
require File.expand_path("../endpoint", __FILE__)
Artifice.deactivate
class EndpointApiForbidden < Endpoint
get "/api/v1/dependencies" do
halt 403
end
end
Artifice.activate_with(EndpointApiForbidden)
|