Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 752 Bytes

TreatmentInput.md

File metadata and controls

24 lines (18 loc) · 752 Bytes

LaunchDarklyApi::TreatmentInput

Properties

Name Type Description Notes
name String The treatment name
baseline Boolean Whether this treatment is the baseline to compare other treatments against
allocation_percent String The percentage of traffic allocated to this treatment during the iteration
parameters Array<TreatmentParameterInput> Details on the flag and variation to use for this treatment

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::TreatmentInput.new(
  name: Treatment 1,
  baseline: true,
  allocation_percent: 10,
  parameters: null
)