Class: Featureflip::Models::ServeConfig
- Inherits:
-
Struct
- Object
- Struct
- Featureflip::Models::ServeConfig
- Defined in:
- lib/featureflip/models/flag.rb
Instance Attribute Summary collapse
-
#bucket_by ⇒ Object
Returns the value of attribute bucket_by.
-
#salt ⇒ Object
Returns the value of attribute salt.
-
#type ⇒ Object
Returns the value of attribute type.
-
#variation ⇒ Object
Returns the value of attribute variation.
-
#variations ⇒ Object
Returns the value of attribute variations.
Instance Method Summary collapse
-
#initialize(type:, variation: nil, bucket_by: nil, salt: nil, variations: nil) ⇒ ServeConfig
constructor
A new instance of ServeConfig.
Constructor Details
#initialize(type:, variation: nil, bucket_by: nil, salt: nil, variations: nil) ⇒ ServeConfig
Returns a new instance of ServeConfig.
14 15 16 |
# File 'lib/featureflip/models/flag.rb', line 14 def initialize(type:, variation: nil, bucket_by: nil, salt: nil, variations: nil) super end |
Instance Attribute Details
#bucket_by ⇒ Object
Returns the value of attribute bucket_by
13 14 15 |
# File 'lib/featureflip/models/flag.rb', line 13 def bucket_by @bucket_by end |
#salt ⇒ Object
Returns the value of attribute salt
13 14 15 |
# File 'lib/featureflip/models/flag.rb', line 13 def salt @salt end |
#type ⇒ Object
Returns the value of attribute type
13 14 15 |
# File 'lib/featureflip/models/flag.rb', line 13 def type @type end |
#variation ⇒ Object
Returns the value of attribute variation
13 14 15 |
# File 'lib/featureflip/models/flag.rb', line 13 def variation @variation end |
#variations ⇒ Object
Returns the value of attribute variations
13 14 15 |
# File 'lib/featureflip/models/flag.rb', line 13 def variations @variations end |