Class: FeatureHub::Sdk::RolloutStrategy

Inherits:
Object
  • Object
show all
Defined in:
sig/feature_hub/featurehub.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#attributesArray[RolloutStrategyAttribute] (readonly)

Returns the value of attribute attributes.

Returns:



373
374
375
# File 'sig/feature_hub/featurehub.rbs', line 373

def attributes
  @attributes
end

#idString (readonly)

Returns the value of attribute id.

Returns:

  • (String)


374
375
376
# File 'sig/feature_hub/featurehub.rbs', line 374

def id
  @id
end

#nameString? (readonly)

Returns the value of attribute name.

Returns:

  • (String, nil)


375
376
377
# File 'sig/feature_hub/featurehub.rbs', line 375

def name
  @name
end

#percentageint (readonly)

Returns the value of attribute percentage.

Returns:

  • (int)


376
377
378
# File 'sig/feature_hub/featurehub.rbs', line 376

def percentage
  @percentage
end

#percentage_attributesArray[String] (readonly)

Returns the value of attribute percentage_attributes.

Returns:

  • (Array[String])


377
378
379
# File 'sig/feature_hub/featurehub.rbs', line 377

def percentage_attributes
  @percentage_attributes
end

#value[bool? | String? | Float?] (readonly)

Returns the value of attribute value.

Returns:

  • ([bool? | String? | Float?])


378
379
380
# File 'sig/feature_hub/featurehub.rbs', line 378

def value
  @value
end

Instance Method Details

#attributes?Boolean

Returns:

  • (Boolean)


382
# File 'sig/feature_hub/featurehub.rbs', line 382

def attributes?: -> bool

#percentage_attributes?Boolean

Returns:

  • (Boolean)


380
# File 'sig/feature_hub/featurehub.rbs', line 380

def percentage_attributes?: -> bool