Name |
Type |
Description |
Notes |
starting_line_number |
Integer |
Line number of beginning of code reference hunk |
|
lines |
String |
Contextual lines of code that include the referenced feature flag |
[optional] |
proj_key |
String |
The project key |
[optional] |
flag_key |
String |
The feature flag key |
[optional] |
aliases |
Array<String> |
An array of flag key aliases |
[optional] |
require 'launchdarkly_api'
instance = LaunchDarklyApi::HunkRep.new(
starting_line_number: 45,
lines: var enableFeature = 'enable-feature';,
proj_key: default,
flag_key: enable-feature,
aliases: ["enableFeature","EnableFeature"]
)