Module: XTwitterScraper::Models::X::XAccount::Health

Extended by:
Internal::Type::Enum
Defined in:
lib/x_twitter_scraper/models/x/x_account.rb,
sig/x_twitter_scraper/models/x/x_account.rbs

Overview

Derived login/cookie health. healthy = cookies valid. needsReauth = user must submit fresh credentials. locked = X locked the account; unlock on x.com first. suspended = X banned the account. recovering = past cooldown, will auto-retry on next use. temporaryIssue = transient backend problem; retry shortly.

See Also:

  • XTwitterScraper::Models::X::XAccount#health

Constant Summary collapse

HEALTHY =

Returns:

  • (:healthy)
:healthy
LOCKED =

Returns:

  • (:locked)
:locked
NEEDS_REAUTH =

Returns:

  • (:needsReauth)
:needsReauth
RECOVERING =

Returns:

  • (:recovering)
:recovering
SUSPENDED =

Returns:

  • (:suspended)
:suspended
TEMPORARY_ISSUE =

Returns:

  • (:temporaryIssue)
:temporaryIssue

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[XTwitterScraper::Models::X::XAccount::health]

Returns:

  • (::Array[XTwitterScraper::Models::X::XAccount::health])


77
# File 'sig/x_twitter_scraper/models/x/x_account.rbs', line 77

def self?.values: -> ::Array[XTwitterScraper::Models::X::XAccount::health]