Module: Datadog::Core::Remote::Transport::HTTP::Negotiation::API::Instance
- Defined in:
- lib/datadog/core/remote/transport/http/negotiation.rb
Overview
Extensions for HTTP API Instance
Instance Method Summary collapse
Instance Method Details
#send_info(env) ⇒ Object
73 74 75 76 77 78 79 80 81 82 83 |
# File 'lib/datadog/core/remote/transport/http/negotiation.rb', line 73 def send_info(env) unless spec.is_a?(Negotiation::API::Spec) raise Core::Transport::HTTP::API::Instance::EndpointNotSupportedError.new( 'info', self ) end spec.send_info(env) do |request_env| call(request_env) end end |