Module: ContextDev::Models::UtilityPrefetchParams::Identifier

Extended by:
Internal::Type::Union
Defined in:
lib/context_dev/models/utility_prefetch_params.rb,
sig/context_dev/models/utility_prefetch_params.rbs

Overview

Identifier of the brand to prefetch. Provide exactly one of domain or email.

Defined Under Namespace

Classes: UtilityPrefetchDomainIdentifier, UtilityPrefetchEmailIdentifier

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants, variants

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(domain:) ⇒ Object

Prefetch brand data by domain.

Parameters:

  • domain (String)

    Domain name to prefetch brand data for



# File 'lib/context_dev/models/utility_prefetch_params.rb', line 59

#self?.variants::Array[ContextDev::Models::UtilityPrefetchParams::identifier]

Returns:

  • (::Array[ContextDev::Models::UtilityPrefetchParams::identifier])


64
# File 'sig/context_dev/models/utility_prefetch_params.rbs', line 64

def self?.variants: -> ::Array[ContextDev::Models::UtilityPrefetchParams::identifier]