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

Inherits:
Object
  • Object
show all
Includes:
Config::API::Spec, Negotiation::API::Spec
Defined in:
lib/datadog/core/remote/transport/http/api/spec.rb

Overview

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

Instance Attribute Summary

Attributes included from Config::API::Spec

#config

Attributes included from Negotiation::API::Spec

#info

Instance Method Summary collapse

Methods included from Config::API::Spec

#send_config

Methods included from Negotiation::API::Spec

#send_info

Constructor Details

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

Returns a new instance of Spec.

Yields:

  • (_self)

Yield Parameters:



12
13
14
# File 'lib/datadog/core/remote/transport/http/api/spec.rb', line 12

def initialize
  yield(self) if block_given?
end