Class: Datadog::CI::Transport::Api::CiTestCycle

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

Instance Attribute Summary collapse

Attributes inherited from Base

#http

Instance Method Summary collapse

Methods inherited from Base

#request

Constructor Details

#initialize(api_key:, http:) ⇒ CiTestCycle

Returns a new instance of CiTestCycle.



13
14
15
16
17
# File 'lib/datadog/ci/transport/api/ci_test_cycle.rb', line 13

def initialize(api_key:, http:)
  @api_key = api_key

  super(http: http)
end

Instance Attribute Details

#api_keyObject (readonly)

Returns the value of attribute api_key.



11
12
13
# File 'lib/datadog/ci/transport/api/ci_test_cycle.rb', line 11

def api_key
  @api_key
end