Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.42 KB

File metadata and controls

38 lines (32 loc) · 1.42 KB

LaunchDarklyApi::ExperimentPost

Properties

Name Type Description Notes
name String The experiment name
description String The experiment description [optional]
maintainer_id String The ID of the member who maintains this experiment [optional]
key String The experiment key
iteration IterationInput
holdout_id String The ID of the holdout [optional]
tags Array<String> Tags for the experiment [optional]
methodology String The results analysis approach. [optional]
analysis_config AnalysisConfigInput [optional]
data_source String The source of metric data in order to analyze results. Defaults to &quot;launchdarkly&quot; when not provided. [optional]
type String The type of experiment. [optional]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::ExperimentPost.new(
  name: Example experiment,
  description: An example experiment, used in testing,
  maintainer_id: 12ab3c45de678910fgh12345,
  key: experiment-key-123abc,
  iteration: null,
  holdout_id: f3b74309-d581-44e1-8a2b-bb2933b4fe40,
  tags: null,
  methodology: bayesian,
  analysis_config: null,
  data_source: snowflake,
  type: experiment
)