Sha256: 527a07d9ea3631225d3bc13b6740b6869e2371f8c4eb06d64678f1e8133eb105
Contents?: true
Size: 996 Bytes
Versions: 2
Compression:
Stored size: 996 Bytes
Contents
# frozen_string_literal: true module Flagsmith module Engine module Segments module Constants # Segment Rules ALL_RULE = 'ALL' ANY_RULE = 'ANY' NONE_RULE = 'NONE' RULE_TYPES = [ALL_RULE, ANY_RULE, NONE_RULE].freeze # Segment Condition Operators EQUAL = 'EQUAL' GREATER_THAN = 'GREATER_THAN' LESS_THAN = 'LESS_THAN' LESS_THAN_INCLUSIVE = 'LESS_THAN_INCLUSIVE' CONTAINS = 'CONTAINS' GREATER_THAN_INCLUSIVE = 'GREATER_THAN_INCLUSIVE' NOT_CONTAINS = 'NOT_CONTAINS' NOT_EQUAL = 'NOT_EQUAL' REGEX = 'REGEX' PERCENTAGE_SPLIT = 'PERCENTAGE_SPLIT' CONDITION_OPERATORS = [ EQUAL, GREATER_THAN, LESS_THAN, LESS_THAN_INCLUSIVE, CONTAINS, GREATER_THAN_INCLUSIVE, NOT_CONTAINS, NOT_EQUAL, REGEX, PERCENTAGE_SPLIT ].freeze end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
flagsmith-3.0.1 | lib/flagsmith/engine/segments/constants.rb |
flagsmith-3.0.0 | lib/flagsmith/engine/segments/constants.rb |