Class: XapiScraper::Models::Components::GetConversationsV3Query
- Inherits:
-
Object
- Object
- XapiScraper::Models::Components::GetConversationsV3Query
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/xapi_scraper/models/components/getconversationsv3query.rb
Overview
Parameters for getting XChat conversation list
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(cookie:, count: nil, all: nil, proxy: nil) ⇒ GetConversationsV3Query
constructor
A new instance of GetConversationsV3Query.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(cookie:, count: nil, all: nil, proxy: nil) ⇒ GetConversationsV3Query
Returns a new instance of GetConversationsV3Query.
43 44 45 46 47 48 |
# File 'lib/xapi_scraper/models/components/getconversationsv3query.rb', line 43 def initialize(cookie:, count: nil, all: nil, proxy: nil) @cookie = @count = count @all = all @proxy = proxy end |
Instance Method Details
#==(other) ⇒ Object
51 52 53 54 55 56 57 58 |
# File 'lib/xapi_scraper/models/components/getconversationsv3query.rb', line 51 def ==(other) return false unless other.is_a?(self.class) return false unless @cookie == other. return false unless @count == other.count return false unless @all == other.all return false unless @proxy == other.proxy true end |