Class: Datadog::SymbolDatabase::Transport::Symbols::Request Private

Inherits:
Core::Transport::Request show all
Defined in:
lib/datadog/symbol_database/transport.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Request wrapper carrying the multipart form for a symbols upload.

API:

  • private

Instance Attribute Summary collapse

Attributes inherited from Core::Transport::Request

#parcel

Instance Method Summary collapse

Constructor Details

#initialize(form) ⇒ Request

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Request.

Parameters:

  • Multipart form data with UploadIO objects

API:

  • private



19
20
21
22
23
24
# File 'lib/datadog/symbol_database/transport.rb', line 19

def initialize(form)
  @form = form
  # Multipart upload — no parcel; the Net adapter reads form data
  # off the env directly.
  super(nil)
end

Instance Attribute Details

#formObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

API:

  • private



16
17
18
# File 'lib/datadog/symbol_database/transport.rb', line 16

def form
  @form
end