Class: XapiScraper::Models::Components::GetRetweetersCursorQuery
- Inherits:
-
Object
- Object
- XapiScraper::Models::Components::GetRetweetersCursorQuery
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/xapi_scraper/models/components/getretweeterscursorquery.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(tweet_id:, next_cursor: nil) ⇒ GetRetweetersCursorQuery
constructor
A new instance of GetRetweetersCursorQuery.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(tweet_id:, next_cursor: nil) ⇒ GetRetweetersCursorQuery
Returns a new instance of GetRetweetersCursorQuery.
28 29 30 31 |
# File 'lib/xapi_scraper/models/components/getretweeterscursorquery.rb', line 28 def initialize(tweet_id:, next_cursor: nil) @tweet_id = tweet_id @next_cursor = next_cursor end |
Instance Method Details
#==(other) ⇒ Object
34 35 36 37 38 39 |
# File 'lib/xapi_scraper/models/components/getretweeterscursorquery.rb', line 34 def ==(other) return false unless other.is_a?(self.class) return false unless @tweet_id == other.tweet_id return false unless @next_cursor == other.next_cursor true end |