Class: XTwitterScraper::Resources::Bot
- Inherits:
-
Object
- Object
- XTwitterScraper::Resources::Bot
- Defined in:
- lib/x_twitter_scraper/resources/bot.rb,
lib/x_twitter_scraper/resources/bot/platform_links.rb
Defined Under Namespace
Classes: PlatformLinks
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(client:) ⇒ Bot
constructor
private
A new instance of Bot.
Constructor Details
#initialize(client:) ⇒ Bot
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Bot.
12 13 14 15 |
# File 'lib/x_twitter_scraper/resources/bot.rb', line 12 def initialize(client:) @client = client @platform_links = XTwitterScraper::Resources::Bot::PlatformLinks.new(client: client) end |
Instance Attribute Details
#platform_links ⇒ XTwitterScraper::Resources::Bot::PlatformLinks (readonly)
7 8 9 |
# File 'lib/x_twitter_scraper/resources/bot.rb', line 7 def platform_links @platform_links end |