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

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

Overview

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

Defined Under Namespace

Classes: EndpointNotDefinedError

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Spec.

Yields:

  • (_self)

Yield Parameters:



28
29
30
# File 'lib/datadog/core/transport/http/api/spec.rb', line 28

def initialize
  yield(self) if block_given?
end