Class: Datadog::Transport::HTTP::Traces::Response
- Inherits:
-
Object
- Object
- Datadog::Transport::HTTP::Traces::Response
- Includes:
- Response, Traces::Response
- Defined in:
- lib/ddtrace/transport/http/traces.rb
Overview
Response from HTTP transport for traces
Instance Attribute Summary
Attributes included from Traces::Response
Instance Method Summary collapse
-
#initialize(http_response, options = {}) ⇒ Response
constructor
A new instance of Response.
Methods included from Response
Constructor Details
#initialize(http_response, options = {}) ⇒ Response
Returns a new instance of Response.
18 19 20 21 22 |
# File 'lib/ddtrace/transport/http/traces.rb', line 18 def initialize(http_response, = {}) super(http_response) @service_rates = .fetch(:service_rates, nil) @trace_count = .fetch(:trace_count, 0) end |