Module: Courier::Models::TextStyle

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

Constant Summary collapse

TEXT =

Returns:

  • (:text)
:text
H1 =

Returns:

  • (:h1)
:h1
H2 =

Returns:

  • (:h2)
:h2
SUBTEXT =

Returns:

  • (:subtext)
:subtext

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/courier/models/text_style.rb', line 13

Instance Method Details

#self?.values::Array[Courier::Models::text_style]

Returns:

  • (::Array[Courier::Models::text_style])


13
# File 'sig/courier/models/text_style.rbs', line 13

def self?.values: -> ::Array[Courier::Models::text_style]