Skip to content

Instantly share code, notes, and snippets.

@jnunemaker
Created September 3, 2021 12:49
Show Gist options
  • Save jnunemaker/e4bdd4b2cce98499bdad1c7a97f5acfa to your computer and use it in GitHub Desktop.
Save jnunemaker/e4bdd4b2cce98499bdad1c7a97f5acfa to your computer and use it in GitHub Desktop.
Flipper::Rules::All.new(
Flipper::Rules::Condition.new(
{"type" => "feature", "value: "redesign"},
{"type" => "operator", "value: "enabled"}
),
Flipper::Rules::Condition.new(
{"type" => "property", "value: "plan"},
{"type" => "operator", "value: "eq"},
{"type" => "string", "value: "basic"}
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment