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