Class: Datadog::SymbolDatabase::Transport::Symbols::Request Private
- Inherits:
-
Core::Transport::Request
- Object
- Core::Transport::Request
- Datadog::SymbolDatabase::Transport::Symbols::Request
- 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.
Instance Attribute Summary collapse
- #form ⇒ Object readonly private
Attributes inherited from Core::Transport::Request
Instance Method Summary collapse
-
#initialize(form) ⇒ Request
constructor
private
A new instance of Request.
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.
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
#form ⇒ Object (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.
16 17 18 |
# File 'lib/datadog/symbol_database/transport.rb', line 16 def form @form end |