Sha256: c8faa2eb5398ec8f33dd35a5cc24c82a3b765cae61df9f17601c167ce115ff6f

Contents?: true

Size: 427 Bytes

Versions: 26

Compression:

Stored size: 427 Bytes

Contents

class Zendesk2::Client::TopicComments < Zendesk2::PagedCollection
  include Zendesk2::Searchable

  model Zendesk2::Client::TopicComment

  attribute :topic_id, type: :integer

  self.collection_method = :get_topic_comments
  self.collection_root   = "topic_comments"
  self.model_method      = :get_topic_comment
  self.model_root        = "topic_comment"
  self.search_type       = "topic_comment"

  scopes << :topic_id
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
zendesk2-1.4.2 lib/zendesk2/client/collections/topic_comments.rb
zendesk2-1.4.1 lib/zendesk2/client/collections/topic_comments.rb
zendesk2-1.4.0 lib/zendesk2/client/collections/topic_comments.rb
zendesk2-1.3.3 lib/zendesk2/client/collections/topic_comments.rb
zendesk2-1.3.2 lib/zendesk2/client/collections/topic_comments.rb
zendesk2-1.3.1 lib/zendesk2/client/collections/topic_comments.rb
zendesk2-1.3.0 lib/zendesk2/client/collections/topic_comments.rb
zendesk2-1.2.10 lib/zendesk2/client/collections/topic_comments.rb
zendesk2-1.2.9 lib/zendesk2/client/collections/topic_comments.rb
zendesk2-1.2.7 lib/zendesk2/client/collections/topic_comments.rb
zendesk2-1.2.6 lib/zendesk2/client/collections/topic_comments.rb
zendesk2-1.2.5 lib/zendesk2/client/collections/topic_comments.rb
zendesk2-1.2.4 lib/zendesk2/client/collections/topic_comments.rb
zendesk2-1.2.3 lib/zendesk2/client/collections/topic_comments.rb
zendesk2-1.2.2 lib/zendesk2/client/collections/topic_comments.rb
zendesk2-1.2.1 lib/zendesk2/client/collections/topic_comments.rb
zendesk2-1.2.0 lib/zendesk2/client/collections/topic_comments.rb
zendesk2-1.1.3 lib/zendesk2/client/collections/topic_comments.rb
zendesk2-1.1.2 lib/zendesk2/client/collections/topic_comments.rb
zendesk2-1.0.0 lib/zendesk2/client/models/topic_comments.rb