Class: Courier::Models::AudienceFilter
Defined Under Namespace
Modules: Operator, Path
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(operator:, path:, value:) ⇒ Object
|
# File 'lib/courier/models/audience_filter.rb', line 22
|
Instance Attribute Details
Send to users only if they are member of the account
10
|
# File 'lib/courier/models/audience_filter.rb', line 10
required :operator, enum: -> { Courier::AudienceFilter::Operator }
|
15
|
# File 'lib/courier/models/audience_filter.rb', line 15
required :path, enum: -> { Courier::AudienceFilter::Path }
|
#value ⇒ String
20
|
# File 'lib/courier/models/audience_filter.rb', line 20
required :value, String
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/courier/models/audience_filter.rb', line 37
|
Instance Method Details
#to_hash ⇒ {
23
|
# File 'sig/courier/models/audience_filter.rbs', line 23
def to_hash: -> {
|