Class: XapiScraper::Models::Operations::TweetsEngagementRetweetersRequest
- Inherits:
-
Object
- Object
- XapiScraper::Models::Operations::TweetsEngagementRetweetersRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/xapi_scraper/models/operations/tweetsengagementretweeters_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(tweet_id:, target_count:) ⇒ TweetsEngagementRetweetersRequest
constructor
A new instance of TweetsEngagementRetweetersRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(tweet_id:, target_count:) ⇒ TweetsEngagementRetweetersRequest
Returns a new instance of TweetsEngagementRetweetersRequest.
24 25 26 27 |
# File 'lib/xapi_scraper/models/operations/tweetsengagementretweeters_request.rb', line 24 def initialize(tweet_id:, target_count:) @tweet_id = tweet_id @target_count = target_count end |
Instance Method Details
#==(other) ⇒ Object
30 31 32 33 34 35 |
# File 'lib/xapi_scraper/models/operations/tweetsengagementretweeters_request.rb', line 30 def ==(other) return false unless other.is_a?(self.class) return false unless @tweet_id == other.tweet_id return false unless @target_count == other.target_count true end |