Module: Courier::Models::SendMessageParams::Message::Expiry::ExpiresIn

Extended by:
Internal::Type::Union
Defined in:
lib/courier/models/send_message_params.rb,
sig/courier/models/send_message_params.rbs

Overview

Duration in ms or ISO8601 duration (e.g. P1DT4H).

See Also:

  • Courier::Models::SendMessageParams::Message::Expiry#expires_in

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants, 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

Instance Method Details

#self?.variants::Array[Courier::Models::SendMessageParams::Message::Expiry::expires_in]

Returns:

  • (::Array[Courier::Models::SendMessageParams::Message::Expiry::expires_in])


165
# File 'sig/courier/models/send_message_params.rbs', line 165

def self?.variants: -> ::Array[Courier::Models::SendMessageParams::Message::Expiry::expires_in]