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.
Defined Under Namespace
Classes: SanitizedXAccount, XAccountConnectionAttemptPending, XAccountConnectionChallenge
Class Method Summary collapse
- .values ⇒ Array<Symbol>
- .variants ⇒ Array(XTwitterScraper::Models::X::AccountCreateResponse::SanitizedXAccount, XTwitterScraper::Models::X::AccountCreateResponse::XAccountConnectionAttemptPending, XTwitterScraper::Models::X::AccountCreateResponse::XAccountConnectionChallenge)
Instance Method Summary collapse
-
#initialize(id:, poll_after_ms:, object: :x_account_connection_attempt, status: :pending) ⇒ Object
The connection is still in progress.
- #self?.variants ⇒ ::Array[XTwitterScraper::Models::X::account_create_response]
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
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/x_twitter_scraper/models/x/account_create_response.rb', line 78
|
.variants ⇒ Array(XTwitterScraper::Models::X::AccountCreateResponse::SanitizedXAccount, XTwitterScraper::Models::X::AccountCreateResponse::XAccountConnectionAttemptPending, XTwitterScraper::Models::X::AccountCreateResponse::XAccountConnectionChallenge)
|
|
# File 'lib/x_twitter_scraper/models/x/account_create_response.rb', line 156
|
Instance Method Details
#initialize(id:, poll_after_ms:, object: :x_account_connection_attempt, status: :pending) ⇒ Object
The connection is still in progress.
|
|
# File 'lib/x_twitter_scraper/models/x/account_create_response.rb', line 104
|
#self?.variants ⇒ ::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]
|