Module: ContextDev::Models::BatchSubmitParams::Input::Crawl::Data::HTML::Options::Pdf::ShouldParse

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

Overview

When true, PDF URLs are fetched and parsed. When false, PDF URLs are skipped and a 400 PDF_SKIPPED is returned.

See Also:

  • ContextDev::Models::BatchSubmitParams::Input::Crawl::Data::HTML::Options::Pdf#should_parse

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))


2352
2353
2354
2355
2356
2357
2358
2359
# File 'lib/context_dev/models/batch_submit_params.rb', line 2352

define_sorbet_constant!(:Variants) do
  T.type_alias do
    T.any(
      T::Boolean,
      ContextDev::BatchSubmitParams::Input::Crawl::Data::HTML::Options::Pdf::ShouldParse::TaggedSymbol
    )
  end
end

Instance Method Details

#self?.variants::Array[ContextDev::Models::BatchSubmitParams::Input::Crawl::Data::HTML::Options::Pdf::should_parse]

Returns:

  • (::Array[ContextDev::Models::BatchSubmitParams::Input::Crawl::Data::HTML::Options::Pdf::should_parse])


2776
# File 'sig/context_dev/models/batch_submit_params.rbs', line 2776

def self?.variants: -> ::Array[ContextDev::Models::BatchSubmitParams::Input::Crawl::Data::HTML::Options::Pdf::should_parse]