Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.12 KB

NewRuleset.md

File metadata and controls

25 lines (18 loc) · 1.12 KB

TalonOne::NewRuleset

Properties

Name Type Description Notes
rules Array<Rule> Set of rules to apply.
strikethrough_rules Array<Rule> Set of rules to apply for strikethrough. [optional]
bindings Array<Binding> An array that provides objects with variable names (name) and talang expressions to whose result they are bound (expression) during rule evaluation. The order of the evaluation is decided by the position in the array.
rb_version String The version of the rulebuilder used to create this ruleset. [optional]
activate Boolean Indicates whether this created ruleset should be activated for the campaign that owns it. [optional]

Code Sample

require 'TalonOne'

instance = TalonOne::NewRuleset.new(rules: null,
                                 strikethrough_rules: null,
                                 bindings: [],
                                 rb_version: v2,
                                 activate: true)