Sha256: 5ccf691bcde23decdb6b0e022241e6f7c02fa573fbc19b02bdecc0c1464316b0

Contents?: true

Size: 481 Bytes

Versions: 6

Compression:

Stored size: 481 Bytes

Contents

# frozen_string_literal: true
class Zendesk2::TopicComments
  include Zendesk2::Collection

  include Zendesk2::PagedCollection
  include Zendesk2::Searchable

  model Zendesk2::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

6 entries across 6 versions & 1 rubygems

Version Path
zendesk2-1.15.0 lib/zendesk2/topic_comments.rb
zendesk2-1.13.1 lib/zendesk2/topic_comments.rb
zendesk2-1.13.0 lib/zendesk2/topic_comments.rb
zendesk2-1.12.0 lib/zendesk2/topic_comments.rb
zendesk2-1.11.0 lib/zendesk2/topic_comments.rb
zendesk2-1.10.0 lib/zendesk2/topic_comments.rb