Class: Datadog::Transport::Request

Inherits:
Object
  • Object
show all
Defined in:
lib/ddtrace/transport/request.rb

Overview

Defines request for transport operations

Direct Known Subclasses

Traces::Request

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(parcel) ⇒ Request

Returns a new instance of Request.



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

def initialize(parcel)
  @parcel = parcel
end

Instance Attribute Details

#parcelObject (readonly)

Returns the value of attribute parcel.



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

def parcel
  @parcel
end