Method: Datadog::Core::Transport::HTTP::Adapters::Test::Response#initialize

Defined in:
lib/datadog/core/transport/http/adapters/test.rb

#initialize(code, body = nil) ⇒ Response

Returns a new instance of Response.



51
52
53
54
# File 'lib/datadog/core/transport/http/adapters/test.rb', line 51

def initialize(code, body = nil)
  @code = code
  @body = body
end