Class: Datadog::DI::Transport::HTTP::Input::API::Spec Private
- Inherits:
-
Core::Transport::HTTP::API::Spec
- Object
- Core::Transport::HTTP::API::Spec
- Datadog::DI::Transport::HTTP::Input::API::Spec
- 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 collapse
- #input ⇒ Object private
Instance Method Summary collapse
Methods inherited from Core::Transport::HTTP::API::Spec
Constructor Details
This class inherits a constructor from Datadog::Core::Transport::HTTP::API::Spec
Instance Attribute Details
#input ⇒ 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.
32 33 34 |
# File 'lib/datadog/di/transport/http/input.rb', line 32 def input @input end |
Instance Method Details
#send_input(env, &block) ⇒ 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.
34 35 36 37 38 |
# File 'lib/datadog/di/transport/http/input.rb', line 34 def send_input(env, &block) raise Core::Transport::HTTP::API::Spec::EndpointNotDefinedError.new('input', self) if input.nil? input.call(env, &block) end |