Class: XTwitterScraper::Resources::Support
- Inherits:
-
Object
- Object
- XTwitterScraper::Resources::Support
- 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
-
#attachments ⇒ XTwitterScraper::Resources::Support::Attachments
readonly
Support ticket management.
-
#tickets ⇒ XTwitterScraper::Resources::Support::Tickets
readonly
Support ticket management.
Instance Method Summary collapse
-
#initialize(client:) ⇒ Support
constructor
private
A new instance of Support.
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.
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
#attachments ⇒ XTwitterScraper::Resources::Support::Attachments (readonly)
Support ticket management
12 13 14 |
# File 'lib/x_twitter_scraper/resources/support.rb', line 12 def @attachments end |
#tickets ⇒ XTwitterScraper::Resources::Support::Tickets (readonly)
Support ticket management
16 17 18 |
# File 'lib/x_twitter_scraper/resources/support.rb', line 16 def tickets @tickets end |