Class: Datadog::CI::Transport::Api::EvpProxy

Inherits:
Base
  • Object
show all
Defined in:
lib/datadog/ci/transport/api/evp_proxy.rb

Instance Attribute Summary

Attributes inherited from Base

#http

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Datadog::CI::Transport::Api::Base

Instance Method Details

#request(path:, payload:, verb: "post") ⇒ Object



13
14
15
16
17
18
19
20
21
# File 'lib/datadog/ci/transport/api/evp_proxy.rb', line 13

def request(path:, payload:, verb: "post")
  path = "#{Ext::Transport::EVP_PROXY_PATH_PREFIX}#{path.sub(/^\//, "")}"

  super(
    path: path,
    payload: payload,
    verb: verb
  )
end