Module: ContextDev::Models::WebWebScrapeImagesParams::Enrichment::HostedURL

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

Overview

Host materializable images on the Brand.dev CDN and return their URL and MIME type.

See Also:

  • ContextDev::Models::WebWebScrapeImagesParams::Enrichment#hosted_url

collapse

TRUE =

Returns:

  • (:true)
:true
FALSE =

Returns:

  • (:false)
:false

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, 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

Class Method Details

.variantsArray(Boolean, Symbol)

Returns:

  • (Array(Boolean, Symbol))


273
274
275
# File 'lib/context_dev/models/web_web_scrape_images_params.rb', line 273

define_sorbet_constant!(:Variants) do
  T.type_alias { T.any(T::Boolean, ContextDev::WebWebScrapeImagesParams::Enrichment::HostedURL::TaggedSymbol) }
end

Instance Method Details

#self?.variants::Array[ContextDev::Models::WebWebScrapeImagesParams::Enrichment::hosted_url]

Returns:

  • (::Array[ContextDev::Models::WebWebScrapeImagesParams::Enrichment::hosted_url])


181
# File 'sig/context_dev/models/web_web_scrape_images_params.rbs', line 181

def self?.variants: -> ::Array[ContextDev::Models::WebWebScrapeImagesParams::Enrichment::hosted_url]