Class: Twilio::REST::TaskRouter::TaskQueuesStatistics
- Inherits:
-
NextGenListResource
- Object
- ListResource
- NextGenListResource
- Twilio::REST::TaskRouter::TaskQueuesStatistics
- Defined in:
- lib/twilio-ruby/rest/task_router/task_queues_statistics.rb
Instance Method Summary collapse
-
#initialize(path, client) ⇒ TaskQueuesStatistics
constructor
A new instance of TaskQueuesStatistics.
Methods inherited from NextGenListResource
Methods inherited from ListResource
#create, #get, #inspect, #list
Methods included from Utils
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 |