Module: Courier::Models::ElementalNodeNonChannel::UnionMember3::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

ACTION =

Returns:

  • (:action)
:action

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

Allows the user to execute an action. Can be a button or a link.

Parameters:



109
110
111
112
113
114
115
116
# File 'lib/courier/models/elemental_node_non_channel.rb', line 109

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

  ACTION = :action

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

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

Returns:

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


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

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