Method: Datadog::AppSec::Response#initialize

Defined in:
lib/datadog/appsec/response.rb

#initialize(status:, headers: {}, body: []) ⇒ Response

Returns a new instance of Response.



12
13
14
15
16
# File 'lib/datadog/appsec/response.rb', line 12

def initialize(status:, headers: {}, body: [])
  @status = status
  @headers = headers
  @body = body
end