Class: EppoClient::Rule
- Inherits:
-
Object
- Object
- EppoClient::Rule
- Defined in:
- lib/rules.rb
Overview
A class for the Rule object
Instance Attribute Summary collapse
-
#allocation_key ⇒ Object
Returns the value of attribute allocation_key.
-
#conditions ⇒ Object
Returns the value of attribute conditions.
Instance Method Summary collapse
-
#initialize(allocation_key:, conditions:) ⇒ Rule
constructor
A new instance of Rule.
Constructor Details
#initialize(allocation_key:, conditions:) ⇒ Rule
Returns a new instance of Rule.
30 31 32 33 |
# File 'lib/rules.rb', line 30 def initialize(allocation_key:, conditions:) @allocation_key = allocation_key @conditions = conditions end |
Instance Attribute Details
#allocation_key ⇒ Object
Returns the value of attribute allocation_key.
28 29 30 |
# File 'lib/rules.rb', line 28 def allocation_key @allocation_key end |
#conditions ⇒ Object
Returns the value of attribute conditions.
28 29 30 |
# File 'lib/rules.rb', line 28 def conditions @conditions end |