Sha256: 46dc685ba1cef7df4d457d38f1eeb2a81ecb29ae84038f60b4296414d1d53dd5

Contents?: true

Size: 330 Bytes

Versions: 8

Compression:

Stored size: 330 Bytes

Contents

# frozen_string_literal: true

module Datadog
  module Transport
    # Data transfer object for generic data
    # @abstract
    module Parcel
      attr_reader \
        :data

      def initialize(data)
        @data = data
      end

      def encode_with(encoder)
        raise NotImplementedError
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ddtrace-1.14.0 lib/ddtrace/transport/parcel.rb
ddtrace-1.13.1 lib/ddtrace/transport/parcel.rb
ddtrace-1.13.0 lib/ddtrace/transport/parcel.rb
ddtrace-1.12.1 lib/ddtrace/transport/parcel.rb
ddtrace-1.12.0 lib/ddtrace/transport/parcel.rb
ddtrace-1.11.1 lib/ddtrace/transport/parcel.rb
ddtrace-1.11.0 lib/ddtrace/transport/parcel.rb
ddtrace-1.11.0.beta1 lib/ddtrace/transport/parcel.rb