Module: XTwitterScraper::Models::X::AccountCreateResponse

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

Overview

Sanitized X account summary returned by connect and reauth.

See Also:

  • XTwitterScraper::Resources::X::Accounts#create

Defined Under Namespace

Classes: SanitizedXAccount, XAccountConnectionAttemptPending, XAccountConnectionChallenge

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, 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(id:, poll_after_ms:, object: :x_account_connection_attempt, status: :pending) ⇒ Object

The connection is still in progress.

Parameters:

  • id (String)
  • poll_after_ms (Integer)
  • object (Symbol, :x_account_connection_attempt) (defaults to: :x_account_connection_attempt)
  • status (Symbol, :pending) (defaults to: :pending)


# File 'lib/x_twitter_scraper/models/x/account_create_response.rb', line 104

#self?.variants::Array[XTwitterScraper::Models::X::account_create_response]

Returns:

  • (::Array[XTwitterScraper::Models::X::account_create_response])


153
# File 'sig/x_twitter_scraper/models/x/account_create_response.rbs', line 153

def self?.variants: -> ::Array[XTwitterScraper::Models::X::account_create_response]