Module: Courier::Models::NotificationGetContent::Block::Type

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

Overview

See Also:

  • Courier::Models::NotificationGetContent::Block#type

Constant Summary collapse

ACTION =

Returns:

  • (:action)
:action
DIVIDER =

Returns:

  • (:divider)
:divider
IMAGE =

Returns:

  • (:image)
:image
JSONNET =

Returns:

  • (:jsonnet)
:jsonnet
LIST =

Returns:

  • (:list)
:list
MARKDOWN =

Returns:

  • (:markdown)
:markdown
QUOTE =

Returns:

  • (:quote)
:quote
TEMPLATE =

Returns:

  • (:template)
:template
TEXT =

Returns:

  • (:text)
:text

Instance Method Summary collapse

Methods included from Internal::Type::Enum

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

Instance Method Details

#self?.values::Array[Courier::Models::NotificationGetContent::Block::type_]

Returns:

  • (::Array[Courier::Models::NotificationGetContent::Block::type_])


99
# File 'sig/courier/models/notification_get_content.rbs', line 99

def self?.values: -> ::Array[Courier::Models::NotificationGetContent::Block::type_]