Module: Datadog::Transport::Parcel

Included in:
Traces::Parcel
Defined in:
lib/ddtrace/transport/parcel.rb

Overview

Data transfer object for generic data

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



5
6
7
# File 'lib/ddtrace/transport/parcel.rb', line 5

def data
  @data
end

Instance Method Details

#initialize(data) ⇒ Object



8
9
10
# File 'lib/ddtrace/transport/parcel.rb', line 8

def initialize(data)
  @data = data
end