Sha256: 514981666a60483d5a6837574dc553e2d5c65a4669393a5732e0cda2d77ec7b7
Contents?: true
Size: 632 Bytes
Versions: 20
Compression:
Stored size: 632 Bytes
Contents
require 'ddtrace/transport/parcel' require 'ddtrace/transport/request' module Datadog module Transport module Traces # Data transfer object for trace data class Parcel include Transport::Parcel def count data.length end def encode_with(encoder) encoder.encode_traces(data) end end # Traces request class Request < Transport::Request def initialize(traces) super(Parcel.new(traces)) end end # Traces response module Response attr_reader :service_rates end end end end
Version data entries
20 entries across 20 versions & 2 rubygems