Module: ContextDev::Models::WebSearchResponse::Result::Markdown::Code

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

Overview

Per-result scrape outcome. Inspect this before reading markdown.

See Also:

  • ContextDev::Models::WebSearchResponse::Result::Markdown#code

Constant Summary collapse

SUCCESS =

Returns:

  • (:SUCCESS)
:SUCCESS
NOT_REQUESTED =

Returns:

  • (:NOT_REQUESTED)
:NOT_REQUESTED
TIMEOUT =

Returns:

  • (:TIMEOUT)
:TIMEOUT
WEBSITE_ACCESS_ERROR =

Returns:

  • (:WEBSITE_ACCESS_ERROR)
:WEBSITE_ACCESS_ERROR
ERROR =

Returns:

  • (:ERROR)
:ERROR

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::WebSearchResponse::Result::Markdown::code]

Returns:

  • (::Array[ContextDev::Models::WebSearchResponse::Result::Markdown::code])


106
# File 'sig/context_dev/models/web_search_response.rbs', line 106

def self?.values: -> ::Array[ContextDev::Models::WebSearchResponse::Result::Markdown::code]