Class: XapiScraper::Models::Components::GetCommunityTweetsCursorQuery
- Inherits:
-
Object
- Object
- XapiScraper::Models::Components::GetCommunityTweetsCursorQuery
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/xapi_scraper/models/components/getcommunitytweetscursorquery.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(community_id:, tweet_type:, next_cursor: nil) ⇒ GetCommunityTweetsCursorQuery
constructor
A new instance of GetCommunityTweetsCursorQuery.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(community_id:, tweet_type:, next_cursor: nil) ⇒ GetCommunityTweetsCursorQuery
Returns a new instance of GetCommunityTweetsCursorQuery.
43 44 45 46 47 |
# File 'lib/xapi_scraper/models/components/getcommunitytweetscursorquery.rb', line 43 def initialize(community_id:, tweet_type:, next_cursor: nil) @community_id = community_id @tweet_type = tweet_type @next_cursor = next_cursor end |
Instance Method Details
#==(other) ⇒ Object
50 51 52 53 54 55 56 |
# File 'lib/xapi_scraper/models/components/getcommunitytweetscursorquery.rb', line 50 def ==(other) return false unless other.is_a?(self.class) return false unless @community_id == other.community_id return false unless @tweet_type == other.tweet_type return false unless @next_cursor == other.next_cursor true end |