Class: Twilio::REST::TaskRouter::TaskQueuesStatistics

Inherits:
NextGenListResource show all
Defined in:
lib/twilio-ruby/rest/task_router/task_queues_statistics.rb

Instance Method Summary collapse

Methods inherited from NextGenListResource

#list

Methods inherited from ListResource

#create, #get, #inspect, #list

Methods included from Utils

#detwilify, #twilify

Constructor Details

#initialize(path, client) ⇒ TaskQueuesStatistics

Returns a new instance of TaskQueuesStatistics.



5
6
7
8
9
# File 'lib/twilio-ruby/rest/task_router/task_queues_statistics.rb', line 5

def initialize(path, client)
  @path, @client = path, client
  @instance_class = Twilio::REST::TaskRouter::TaskQueueStatistics
  @list_key, @instance_id_key = 'task_queues_statistics', 'task_queue_sid'
end