Class: Twilio::REST::TaskRouter::Task

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

Instance Method Summary collapse

Methods inherited from InstanceResource

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

Methods included from Utils

#detwilify, #twilify

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