Module: Courier::Models::JourneyConditionsField
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/courier/models/journey_conditions_field.rb,
sig/courier/models/journey_conditions_field.rbs
Overview
Condition spec for a journey node. Accepts a single condition atom, an AND/OR
group, or an AND/OR nested group. Omit the conditions property entirely to
express "no conditions".
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants
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
.variants ⇒ Array(Array<String>, Courier::Models::JourneyConditionGroup, Courier::Models::JourneyConditionNestedGroup)
|
|
# File 'lib/courier/models/journey_conditions_field.rb', line 33
|
Instance Method Details
#self?.variants ⇒ ::Array[Courier::Models::journey_conditions_field]
11 |
# File 'sig/courier/models/journey_conditions_field.rbs', line 11
def self?.variants: -> ::Array[Courier::Models::journey_conditions_field]
|