Class: PreludeSDK::Models::VerificationCreateParams::Options::AppRealm

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/prelude_sdk/models/verification_create_params.rb

Overview

See Also:

Defined Under Namespace

Modules: Platform

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(platform:, value:) ⇒ Object

Some parameter documentations has been truncated, see PreludeSDK::Models::VerificationCreateParams::Options::AppRealm for more details.

This allows automatic OTP retrieval on mobile apps and web browsers. Supported platforms are Android (SMS Retriever API) and Web (WebOTP API).

Parameters:



# File 'lib/prelude_sdk/models/verification_create_params.rb', line 238

Instance Attribute Details

#platformSymbol, PreludeSDK::Models::VerificationCreateParams::Options::AppRealm::Platform

The platform for automatic OTP retrieval. Use “android” for the SMS Retriever API or “web” for the WebOTP API.



225
# File 'lib/prelude_sdk/models/verification_create_params.rb', line 225

required :platform, enum: -> { PreludeSDK::VerificationCreateParams::Options::AppRealm::Platform }

#valueString

The value depends on the platform:

Returns:

  • (String)


236
# File 'lib/prelude_sdk/models/verification_create_params.rb', line 236

required :value, String