class Datadog::Profiling::Transport::HTTP::API::Spec
API
specification for profiling
Attributes
profiles[RW]
Public Instance Methods
encoder()
click to toggle source
# File lib/ddtrace/profiling/transport/http/api/spec.rb, line 20 def encoder profiles.encoder end
send_profiling_flush(env, &block)
click to toggle source
# File lib/ddtrace/profiling/transport/http/api/spec.rb, line 14 def send_profiling_flush(env, &block) raise NoProfilesEndpointDefinedError, self if profiles.nil? profiles.call(env, &block) end