Class: XTwitterScraper::Resources::Support

Inherits:
Object
  • Object
show all
Defined in:
lib/x_twitter_scraper/resources/support.rb,
lib/x_twitter_scraper/resources/support/tickets.rb,
lib/x_twitter_scraper/resources/support/attachments.rb,
sig/x_twitter_scraper/resources/support.rbs,
sig/x_twitter_scraper/resources/support/tickets.rbs,
sig/x_twitter_scraper/resources/support/attachments.rbs

Defined Under Namespace

Classes: Attachments, Tickets

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Support

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 Support.

Parameters:



21
22
23
24
25
# File 'lib/x_twitter_scraper/resources/support.rb', line 21

def initialize(client:)
  @client = client
  @attachments = XTwitterScraper::Resources::Support::Attachments.new(client: client)
  @tickets = XTwitterScraper::Resources::Support::Tickets.new(client: client)
end

Instance Attribute Details

#attachmentsXTwitterScraper::Resources::Support::Attachments (readonly)

Support ticket management



12
13
14
# File 'lib/x_twitter_scraper/resources/support.rb', line 12

def attachments
  @attachments
end

#ticketsXTwitterScraper::Resources::Support::Tickets (readonly)

Support ticket management



16
17
18
# File 'lib/x_twitter_scraper/resources/support.rb', line 16

def tickets
  @tickets
end