Class: Datadog::SymbolDatabase::Transport::HTTP::API::Endpoint Private
- Inherits:
-
Core::Transport::HTTP::API::Endpoint
- Object
- Core::Transport::HTTP::API::Endpoint
- Datadog::SymbolDatabase::Transport::HTTP::API::Endpoint
- Defined in:
- lib/datadog/symbol_database/transport/http/endpoint.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.
POST endpoint for symbol database uploads. Multipart form-data
is triggered by setting env.form on the request (handled in
Core::Transport::HTTP::Adapters::Net); the multipart library
sets Content-Type itself.
Instance Attribute Summary collapse
- #encoder ⇒ Object readonly private
Attributes inherited from Core::Transport::HTTP::API::Endpoint
Instance Method Summary collapse
-
#initialize(path, encoder) ⇒ Endpoint
constructor
private
A new instance of Endpoint.
Methods inherited from Core::Transport::HTTP::API::Endpoint
Constructor Details
#initialize(path, encoder) ⇒ Endpoint
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 Endpoint.
19 20 21 22 |
# File 'lib/datadog/symbol_database/transport/http/endpoint.rb', line 19 def initialize(path, encoder) super(:post, path) @encoder = encoder end |
Instance Attribute Details
#encoder ⇒ 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.
15 16 17 |
# File 'lib/datadog/symbol_database/transport/http/endpoint.rb', line 15 def encoder @encoder end |