Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 836 Bytes

HunkRep.md

File metadata and controls

26 lines (20 loc) · 836 Bytes

LaunchDarklyApi::HunkRep

Properties

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]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::HunkRep.new(
  starting_line_number: 45,
  lines: var enableFeature &#x3D; &#39;enable-feature&#39;;,
  proj_key: default,
  flag_key: enable-feature,
  aliases: [&quot;enableFeature&quot;,&quot;EnableFeature&quot;]
)