Class: Datadog::DI::Transport::HTTP::Input::API::Instance Private
- Inherits:
-
Core::Transport::HTTP::API::Instance
- Object
- Core::Transport::HTTP::API::Instance
- Datadog::DI::Transport::HTTP::Input::API::Instance
- Defined in:
- lib/datadog/di/transport/http/input.rb
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.
Instance Attribute Summary
Attributes inherited from Core::Transport::HTTP::API::Instance
Instance Method Summary collapse
- #send_input(env) ⇒ Object private
Methods inherited from Core::Transport::HTTP::API::Instance
Constructor Details
This class inherits a constructor from Datadog::Core::Transport::HTTP::API::Instance
Instance Method Details
#send_input(env) ⇒ Object
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.
22 23 24 25 26 27 28 |
# File 'lib/datadog/di/transport/http/input.rb', line 22 def send_input(env) raise Core::Transport::HTTP::API::Instance::EndpointNotSupportedError.new('input', self) unless spec.is_a?(Input::API::Spec) spec.send_input(env) do |request_env| call(request_env) end end |