ruby/spec/bundler/support/artifice/endpoint_api_forbidden.rb
2022-12-15 19:06:40 +09:00

13 lines
244 B
Ruby

# frozen_string_literal: true
require_relative "helpers/endpoint"
class EndpointApiForbidden < Endpoint
get "/api/v1/dependencies" do
halt 403
end
end
require_relative "helpers/artifice"
Artifice.activate_with(EndpointApiForbidden)