Module: Datadog::Core::Remote::Transport::HTTP::API
- Defined in:
- lib/datadog/core/remote/transport/http/api.rb
Overview
Namespace for API components
Defined Under Namespace
Constant Summary collapse
- ROOT =
Default API versions
'root'
- V7 =
'v0.7'
Class Method Summary collapse
Class Method Details
.defaults ⇒ Object
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/datadog/core/remote/transport/http/api.rb', line 23 def defaults Core::Transport::HTTP::API::Map[ ROOT => Spec.new do |s| s.info = Negotiation::API::Endpoint.new( '/info', ) end, V7 => Spec.new do |s| s.config = Config::API::Endpoint.new( '/v0.7/config', Core::Encoding::JSONEncoder, ) end, ] end |