Class: Datadog::Core::Transport::Request

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

Overview

Defines request for transport operations

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(parcel = nil) ⇒ Request

Returns a new instance of Request.



11
12
13
# File 'lib/datadog/core/transport/request.rb', line 11

def initialize(parcel = nil)
  @parcel = parcel
end

Instance Attribute Details

#parcelObject (readonly)

Returns the value of attribute parcel.



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

def parcel
  @parcel
end