Class: Twilio::REST::TaskRouter::Workspace

Inherits:
InstanceResource show all
Includes:
Statistics
Defined in:
lib/twilio-ruby/rest/task_router/workspaces.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 = {}) ⇒ Workspace

Returns a new instance of Workspace.



9
10
11
12
13
# File 'lib/twilio-ruby/rest/task_router/workspaces.rb', line 9

def initialize(path, client, params={})
  super path, client, params
  @submodule = :TaskRouter
  resource :activities, :events, :task_queues, :tasks, :workers, :workflows
end

Dynamic Method Handling

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