Module: ContextDev::Models::WebWebScrapeHTMLResponse::Type

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

Overview

Detected content type of the returned html field. Sitemaps and feeds are surfaced as xml; ordinary pages are html. Excel workbooks are surfaced as xlsx/xls with the extracted sheets as HTML tables; PowerPoint presentations are surfaced as pptx/ppt with the extracted slides as HTML.

See Also:

  • ContextDev::Models::WebWebScrapeHTMLResponse#type

Constant Summary collapse

HTML =

Returns:

  • (:html)
:html
XML =

Returns:

  • (:xml)
:xml
JSON =

Returns:

  • (:json)
:json
TEXT =

Returns:

  • (:text)
:text
CSV =

Returns:

  • (:csv)
:csv
MARKDOWN =

Returns:

  • (:markdown)
:markdown
SVG =

Returns:

  • (:svg)
:svg
PDF =

Returns:

  • (:pdf)
:pdf
DOCX =

Returns:

  • (:docx)
:docx
DOC =

Returns:

  • (:doc)
:doc
XLSX =

Returns:

  • (:xlsx)
:xlsx
XLS =

Returns:

  • (:xls)
:xls
PPTX =

Returns:

  • (:pptx)
:pptx
PPT =

Returns:

  • (:ppt)
:ppt

Instance Method Summary collapse

Methods included from Internal::Type::Enum

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

Instance Method Details

#self?.values::Array[ContextDev::Models::WebWebScrapeHTMLResponse::type_]

Returns:

  • (::Array[ContextDev::Models::WebWebScrapeHTMLResponse::type_])


306
# File 'sig/context_dev/models/web_web_scrape_html_response.rbs', line 306

def self?.values: -> ::Array[ContextDev::Models::WebWebScrapeHTMLResponse::type_]