Module: XTwitterScraper::Models::X::AccountConnectionAttemptRetrieveResponse::Failed::Object

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

Constant Summary collapse

X_ACCOUNT_CONNECTION_ATTEMPT =

Returns:

  • (:x_account_connection_attempt)
:x_account_connection_attempt

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

#initialize(id:, error:, retryable:, reason: nil, object: :x_account_connection_attempt, status: :failed) ⇒ Object

The connection reached a final failure.

Parameters:

  • id (String)
  • error (String)
  • retryable (Boolean)
  • reason (String) (defaults to: nil)
  • object (Symbol, :x_account_connection_attempt) (defaults to: :x_account_connection_attempt)
  • status (Symbol, :failed) (defaults to: :failed)


146
147
148
149
150
# File 'lib/x_twitter_scraper/models/x/account_connection_attempt_retrieve_response.rb', line 146

module Object
  extend XTwitterScraper::Internal::Type::Enum

  X_ACCOUNT_CONNECTION_ATTEMPT = :x_account_connection_attempt
end