blob: bb89747adcfa1fbde35f260570a1f4add9786f60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# 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)
|