Class: Twilio::REST::TaskRouter::TaskQueues

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

Instance Method Summary collapse

Methods inherited from NextGenListResource

#list

Methods inherited from ListResource

#create, #get, #initialize, #inspect, #list

Methods included from Utils

#detwilify, #twilify

Constructor Details

This class inherits a constructor from Twilio::REST::ListResource

Instance Method Details

#statistics(args = {}) ⇒ Object



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

def statistics(args={})
  path = "#{@path}/Statistics"
  stats = Twilio::REST::TaskRouter::TaskQueuesStatistics.new path, @client
  stats.list args, true
end