Module: Datadog::Core::Remote::Transport::HTTP::Config::API::Spec
- Included in:
- API::Spec
- Defined in:
- lib/datadog/core/remote/transport/http/config.rb
Overview
Extensions for HTTP API Spec
Defined Under Namespace
Classes: NoConfigEndpointDefinedError
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.
189 190 191 |
# File 'lib/datadog/core/remote/transport/http/config.rb', line 189 def config @config end |
Instance Method Details
#send_config(env, &block) ⇒ Object
195 196 197 198 199 |
# File 'lib/datadog/core/remote/transport/http/config.rb', line 195 def send_config(env, &block) raise NoConfigEndpointDefinedError, self if config.nil? config.call(env, &block) end |