Module: ContextDev::Models::MonitorUpdateParams::ChangeDetection

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

Overview

Discriminated union describing how changes are detected.

Defined Under Namespace

Classes: Exact, Semantic

Instance Method Summary collapse

Methods included from Internal::Type::Union

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

Instance Method Details

#initialize(type: :exact) ⇒ Object

Detect exact changes. For page targets, this means visible text diffs. For sitemap targets, this means URL additions and removals.

Parameters:

  • type (Symbol, :exact) (defaults to: :exact)


# File 'lib/context_dev/models/monitor_update_params.rb', line 97

#self?.variants::Array[ContextDev::Models::MonitorUpdateParams::change_detection]

Returns:

  • (::Array[ContextDev::Models::MonitorUpdateParams::change_detection])


122
# File 'sig/context_dev/models/monitor_update_params.rbs', line 122

def self?.variants: -> ::Array[ContextDev::Models::MonitorUpdateParams::change_detection]