Module: Datadog::Core::Remote::Transport::HTTP::Config::API::Spec
- Defined in:
- lib/datadog/core/remote/transport/http/config.rb
Overview
Extensions for HTTP API Spec
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
Instance Method Summary collapse
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
193 194 195 |
# File 'lib/datadog/core/remote/transport/http/config.rb', line 193 def config @config end |
Instance Method Details
#send_config(env, &block) ⇒ Object
199 200 201 202 203 |
# File 'lib/datadog/core/remote/transport/http/config.rb', line 199 def send_config(env, &block) raise Core::Transport::HTTP::API::Spec::EndpointNotDefinedError.new('config', self) if config.nil? config.call(env, &block) end |