Class: Courier::Models::JourneySendNode::Message
Overview
Defined Under Namespace
Classes: Context, Delay, To
Instance Attribute 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(until_:, timezone: nil) ⇒ Object
|
# File 'lib/courier/models/journey_send_node.rb', line 86
|
Instance Attribute Details
Tenant context for this send. Set it to deliver on behalf of one of your
customers, so the message uses that tenant's brand and settings.
64
|
# File 'lib/courier/models/journey_send_node.rb', line 64
optional :context, -> { Courier::JourneySendNode::Message::Context }
|
#data ⇒ Hash{Symbol=>Object}?
69
|
# File 'lib/courier/models/journey_send_node.rb', line 69
optional :data, Courier::Internal::Type::HashOf[Courier::Internal::Type::Unknown]
|
74
|
# File 'lib/courier/models/journey_send_node.rb', line 74
optional :delay, -> { Courier::JourneySendNode::Message::Delay }
|
#template ⇒ String?
79
|
# File 'lib/courier/models/journey_send_node.rb', line 79
optional :template, String
|
84
|
# File 'lib/courier/models/journey_send_node.rb', line 84
optional :to, -> { Courier::JourneySendNode::Message::To }
|
Instance Method Details
#to_hash ⇒ {
93
|
# File 'sig/courier/models/journey_send_node.rbs', line 93
def to_hash: -> {
|