Method: Datadog::AppSec::Response.from_interrupt_params
- Defined in:
- lib/datadog/appsec/response.rb
.from_interrupt_params(interrupt_params, http_accept_header) ⇒ Object
23 24 25 26 27 |
# File 'lib/datadog/appsec/response.rb', line 23 def from_interrupt_params(interrupt_params, http_accept_header) return redirect_response(interrupt_params) if interrupt_params['location'] block_response(interrupt_params, http_accept_header) end |