Class: Twilio::REST::TaskRouter::Task
- Inherits:
-
InstanceResource
- Object
- InstanceResource
- Twilio::REST::TaskRouter::Task
- Defined in:
- lib/twilio-ruby/rest/task_router/tasks.rb
Instance Method Summary collapse
-
#initialize(path, client, params = {}) ⇒ Task
constructor
A new instance of Task.
Methods inherited from InstanceResource
#delete, #inspect, #method_missing, #refresh, #update
Methods included from Utils
Constructor Details
#initialize(path, client, params = {}) ⇒ Task
Returns a new instance of Task.
7 8 9 10 11 |
# File 'lib/twilio-ruby/rest/task_router/tasks.rb', line 7 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