Module: ContextDev::Models::WebSearchParams::Freshness

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

Overview

Restrict results to content published within this window.

Constant Summary collapse

LAST_24_HOURS =

Returns:

  • (:last_24_hours)
:last_24_hours
LAST_WEEK =

Returns:

  • (:last_week)
:last_week
LAST_MONTH =

Returns:

  • (:last_month)
:last_month
LAST_YEAR =

Returns:

  • (:last_year)
:last_year

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::WebSearchParams::freshness]

Returns:

  • (::Array[ContextDev::Models::WebSearchParams::freshness])


584
# File 'sig/context_dev/models/web_search_params.rbs', line 584

def self?.values: -> ::Array[ContextDev::Models::WebSearchParams::freshness]