Class: Featureflip::Models::TargetingRule
- Inherits:
-
Struct
- Object
- Struct
- Featureflip::Models::TargetingRule
- Defined in:
- lib/featureflip/models/flag.rb
Instance Attribute Summary collapse
-
#condition_groups ⇒ Object
Returns the value of attribute condition_groups.
-
#id ⇒ Object
Returns the value of attribute id.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#segment_key ⇒ Object
Returns the value of attribute segment_key.
-
#serve ⇒ Object
Returns the value of attribute serve.
Instance Method Summary collapse
-
#initialize(id:, priority:, condition_groups:, serve:, segment_key: nil) ⇒ TargetingRule
constructor
A new instance of TargetingRule.
Constructor Details
#initialize(id:, priority:, condition_groups:, serve:, segment_key: nil) ⇒ TargetingRule
Returns a new instance of TargetingRule.
26 27 28 |
# File 'lib/featureflip/models/flag.rb', line 26 def initialize(id:, priority:, condition_groups:, serve:, segment_key: nil) super end |
Instance Attribute Details
#condition_groups ⇒ Object
Returns the value of attribute condition_groups
25 26 27 |
# File 'lib/featureflip/models/flag.rb', line 25 def condition_groups @condition_groups end |
#id ⇒ Object
Returns the value of attribute id
25 26 27 |
# File 'lib/featureflip/models/flag.rb', line 25 def id @id end |
#priority ⇒ Object
Returns the value of attribute priority
25 26 27 |
# File 'lib/featureflip/models/flag.rb', line 25 def priority @priority end |
#segment_key ⇒ Object
Returns the value of attribute segment_key
25 26 27 |
# File 'lib/featureflip/models/flag.rb', line 25 def segment_key @segment_key end |
#serve ⇒ Object
Returns the value of attribute serve
25 26 27 |
# File 'lib/featureflip/models/flag.rb', line 25 def serve @serve end |