lib/datadog/core/telemetry/http/response.rb in datadog-2.0.0.beta2 vs lib/datadog/core/telemetry/http/response.rb in datadog-2.0.0

- old
+ new

@@ -32,9 +32,13 @@ def internal_error? nil end + def code + nil + end + def inspect "#{self.class} ok?:#{ok?} unsupported?:#{unsupported?}, " \ "not_found?:#{not_found?}, client_error?:#{client_error?}, " \ "server_error?:#{server_error?}, internal_error?:#{internal_error?}, " \ "payload:#{payload}"