Class: Twilio::REST::TaskRouter::Worker
- Inherits:
-
InstanceResource
- Object
- InstanceResource
- Twilio::REST::TaskRouter::Worker
- Includes:
- Statistics
- Defined in:
- lib/twilio-ruby/rest/task_router/workers.rb
Instance Method Summary collapse
-
#initialize(path, client, params = {}) ⇒ Worker
constructor
A new instance of Worker.
Methods included from Statistics
Methods inherited from InstanceResource
#delete, #inspect, #method_missing, #refresh, #update
Methods included from Utils
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