Sha256: 40f2983e73e52e3ee9380eaf33e067153365ee45472650d74ae5b18022085f0f

Contents?: true

Size: 344 Bytes

Versions: 6

Compression:

Stored size: 344 Bytes

Contents

# frozen_string_literal: true
class Zendesk2::TicketMetrics < Zendesk2::PagedCollection
  model Zendesk2::TicketMetric

  attribute :ticket_id, type: :integer

  self.collection_method = :get_ticket_metrics
  self.collection_root   = 'ticket_metrics'
  self.model_method      = :get_ticket_metric
  self.model_root        = 'ticket_metric'
end

Version data entries

6 entries across 6 versions & 1 rubygems

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