Module: Courier::Models::ElementalNodeNonChannel::UnionMember2::Type

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

Constant Summary collapse

IMAGE =

Returns:

  • (:image)
:image

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

#initialize(type: nil) ⇒ Object

Used to embed an image into the notification.

Parameters:



88
89
90
91
92
93
94
95
# File 'lib/courier/models/elemental_node_non_channel.rb', line 88

module Type
  extend Courier::Internal::Type::Enum

  IMAGE = :image

  # @!method self.values
  #   @return [Array<Symbol>]
end

#self?.values ⇒ ::Array[Courier::Models::ElementalNodeNonChannel::UnionMember2::type_]

Returns:

  • (::Array[Courier::Models::ElementalNodeNonChannel::UnionMember2::type_])


98
# File 'sig/courier/models/elemental_node_non_channel.rbs', line 98

def self?.values: -> ::Array[Courier::Models::ElementalNodeNonChannel::UnionMember2::type_]