Sha256: 5a1582bce14f55d7a6a0b04f9c4c331a6600e8b56b555011b2e3b334eff1a6b0
Contents?: true
Size: 819 Bytes
Versions: 5
Compression:
Stored size: 819 Bytes
Contents
require 'ddtrace/transport/http/builder' require 'ddtrace/profiling/transport/http/api' require 'ddtrace/profiling/transport/http/client' module Datadog module Profiling module Transport module HTTP # Builds new instances of Transport::HTTP::Client class Builder < Datadog::Transport::HTTP::Builder def api_instance_class API::Instance end def to_transport raise Datadog::Transport::HTTP::Builder::NoDefaultApiError if @default_api.nil? # TODO: Profiling doesn't have multiple APIs yet. # When it does, we should build it out with these APIs. # Just use :default_api for now. Client.new(to_api_instances[@default_api]) end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems