Module: Knockapi::Models::Condition::Operator

Extended by:
Internal::Type::Enum
Defined in:
lib/knockapi/models/condition.rb

Overview

The operator to use in the condition evaluation.

See Also:

Constant Summary collapse

EQUAL_TO =
:equal_to
NOT_EQUAL_TO =
:not_equal_to
GREATER_THAN =
:greater_than
LESS_THAN =
:less_than
GREATER_THAN_OR_EQUAL_TO =
:greater_than_or_equal_to
LESS_THAN_OR_EQUAL_TO =
:less_than_or_equal_to
CONTAINS =
:contains
NOT_CONTAINS =
:not_contains
EMPTY =
:empty
NOT_EMPTY =
:not_empty
CONTAINS_ALL =
:contains_all
IS_TIMESTAMP =
:is_timestamp
IS_NOT_TIMESTAMP =
:is_not_timestamp
IS_TIMESTAMP_AFTER =
:is_timestamp_after
IS_TIMESTAMP_BEFORE =
:is_timestamp_before
IS_TIMESTAMP_BETWEEN =
:is_timestamp_between
IS_AUDIENCE_MEMBER =
:is_audience_member
IS_NOT_AUDIENCE_MEMBER =
:is_not_audience_member

Class Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/knockapi/models/condition.rb', line 58