Class: Datadog::Transport::IO::Traces::Parcel
- Inherits:
-
Object
- Object
- Datadog::Transport::IO::Traces::Parcel
- Defined in:
- lib/ddtrace/transport/io/traces.rb
Overview
Transfer object for list of traces
Constant Summary
Constants included from Encoder
Instance Attribute Summary
Attributes included from Parcel
Instance Method Summary collapse
Methods included from Encoder
Methods included from Parcel
Instance Method Details
#count ⇒ Object
86 87 88 |
# File 'lib/ddtrace/transport/io/traces.rb', line 86 def count data.length end |
#encode_with(encoder) ⇒ Object
90 91 92 |
# File 'lib/ddtrace/transport/io/traces.rb', line 90 def encode_with(encoder) encode_traces(encoder, data) end |