Class: Datadog::DataStreams::Transport::Stats::EncodedParcel
- Inherits:
-
Object
- Object
- Datadog::DataStreams::Transport::Stats::EncodedParcel
- Includes:
- Core::Transport::Parcel
- Defined in:
- lib/datadog/data_streams/transport/stats.rb
Overview
Parcel for encoded DSM stats payload
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ EncodedParcel
constructor
A new instance of EncodedParcel.
Methods included from Core::Transport::Parcel
Constructor Details
#initialize(data) ⇒ EncodedParcel
16 17 18 |
# File 'lib/datadog/data_streams/transport/stats.rb', line 16 def initialize(data) @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
20 21 22 |
# File 'lib/datadog/data_streams/transport/stats.rb', line 20 def data @data end |