Class: Twilio::REST::TaskRouter::Worker

Inherits:
InstanceResource show all
Includes:
Statistics
Defined in:
lib/twilio-ruby/rest/task_router/workers.rb

Instance Method Summary collapse

Methods included from Statistics

#statistics

Methods inherited from InstanceResource

#delete, #inspect, #method_missing, #refresh, #update

Methods included from Utils

#detwilify, #twilify

Constructor Details

#initialize(path, client, params = {}) ⇒ Worker

Returns a new instance of Worker.



11
12
13
14
15
# File 'lib/twilio-ruby/rest/task_router/workers.rb', line 11

def initialize(path, client, params={})
  super path, client, params
  @submodule = :TaskRouter
  resource :reservations
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Twilio::REST::InstanceResource