Method: Datadog::Core::Remote::Transport::HTTP::API::Instance#initialize

Defined in:
lib/datadog/core/remote/transport/http/api/instance.rb

#initialize(spec, adapter, options = {}) ⇒ Instance

Returns a new instance of Instance.



16
17
18
19
20
# File 'lib/datadog/core/remote/transport/http/api/instance.rb', line 16

def initialize(spec, adapter, options = {})
  @spec = spec
  @adapter = adapter
  @headers = options.fetch(:headers, {})
end