Skip to content

Files

Latest commit

5f94853 · Oct 14, 2024

History

History
22 lines (16 loc) · 565 Bytes

LayerReservationRep.md

File metadata and controls

22 lines (16 loc) · 565 Bytes

LaunchDarklyApi::LayerReservationRep

Properties

Name Type Description Notes
experiment_key String The key of the experiment
flag_key String The key of the flag
reservation_percent Integer The percentage of traffic reserved for the experiment

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::LayerReservationRep.new(
  experiment_key: checkout-flow-experiment,
  flag_key: checkout-flow-flag,
  reservation_percent: 20
)