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-0.5.4 lib/zendesk2/client/models/topic_comments.rb
zendesk2-0.5.3 lib/zendesk2/client/models/topic_comments.rb
zendesk2-0.5.2 lib/zendesk2/client/models/topic_comments.rb
zendesk2-0.5.1 lib/zendesk2/client/models/topic_comments.rb
zendesk2-0.5.0 lib/zendesk2/client/models/topic_comments.rb
zendesk2-0.4.5 lib/zendesk2/client/models/topic_comments.rb