lib/zendesk2/ticket_metrics.rb in zendesk2-1.9.0 vs lib/zendesk2/ticket_metrics.rb in zendesk2-1.10.0
- old
+ new
@@ -1,10 +1,11 @@
+# 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.collection_root = 'ticket_metrics'
self.model_method = :get_ticket_metric
- self.model_root = "ticket_metric"
+ self.model_root = 'ticket_metric'
end