Class: XTwitterScraper::Models::TrendListResponse
Overview
Defined Under Namespace
Classes: Trend
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
17
|
# File 'sig/x_twitter_scraper/models/trend_list_response.rbs', line 17
def initialize: (
|
Instance Attribute Details
#total ⇒ Integer
10
|
# File 'lib/x_twitter_scraper/models/trend_list_response.rb', line 10
required :total, Integer
|
15
16
|
# File 'lib/x_twitter_scraper/models/trend_list_response.rb', line 15
required :trends,
-> { XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::Models::TrendListResponse::Trend] }
|
#woeid ⇒ Integer
21
|
# File 'lib/x_twitter_scraper/models/trend_list_response.rb', line 21
required :woeid, Integer
|
Instance Method Details
#to_hash ⇒ {
23
|
# File 'sig/x_twitter_scraper/models/trend_list_response.rbs', line 23
def to_hash: -> {
|