Created
March 2, 2022 15:49
-
-
Save tolgaOzen/e1e203fc48525f5acbe5f3113551415e to your computer and use it in GitHub Desktop.
create senior rule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
response, err := client.Rule.Create(rule.Create{ | |
Name: "is senior", | |
Conditions: []string{"user.attributes.tenure > 8"}, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment