Class: Datadog::Transport::HTTP::API::Spec

Inherits:
Object
  • Object
show all
Defined in:
lib/ddtrace/transport/http/api/spec.rb

Overview

Specification for an HTTP API Defines behaviors without specific configuration details.

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Spec

Returns a new instance of Spec.

Yields:

  • (_self)

Yield Parameters:



8
9
10
# File 'lib/ddtrace/transport/http/api/spec.rb', line 8

def initialize
  yield(self) if block_given?
end