Module: Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberInitializeVerificationParams::VerificationMethod

Extended by:
Internal::Type::Enum
Defined in:
lib/telnyx/models/whatsapp/business_accounts/phone_number_initialize_verification_params.rb,
sig/telnyx/models/whatsapp/business_accounts/phone_number_initialize_verification_params.rbs

Constant Summary collapse

SMS =

Returns:

  • (:sms)
:sms
VOICE =

Returns:

  • (:voice)
:voice

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/telnyx/models/whatsapp/business_accounts/phone_number_initialize_verification_params.rb', line 52

Instance Method Details

#initialize(id:, display_name:, phone_number:, language: nil, verification_method: nil, request_options: {}) ⇒ Object

Parameters:



46
47
48
49
50
51
52
53
54
# File 'lib/telnyx/models/whatsapp/business_accounts/phone_number_initialize_verification_params.rb', line 46

module VerificationMethod
  extend Telnyx::Internal::Type::Enum

  SMS = :sms
  VOICE = :voice

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

#self?.values::Array[Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberInitializeVerificationParams::verification_method]

Returns:

  • (::Array[Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberInitializeVerificationParams::verification_method])


61
# File 'sig/telnyx/models/whatsapp/business_accounts/phone_number_initialize_verification_params.rbs', line 61

def self?.values: -> ::Array[Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberInitializeVerificationParams::verification_method]