Class: Featureflip::Models::WeightedVariation

Inherits:
Struct
  • Object
show all
Defined in:
lib/featureflip/models/flag.rb

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



5
6
7
# File 'lib/featureflip/models/flag.rb', line 5

def key
  @key
end

#weightObject

Returns the value of attribute weight

Returns:

  • (Object)

    the current value of weight



5
6
7
# File 'lib/featureflip/models/flag.rb', line 5

def weight
  @weight
end