Class: Restcomm::REST::TaskRouter::Workspace

Inherits:
InstanceResource show all
Defined in:
lib/restcomm-ruby/rest/task_router/workspaces.rb

Instance Method Summary collapse

Methods inherited from InstanceResource

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

Methods included from Utils

#derestify, #restify

Constructor Details

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

Returns a new instance of Workspace.



7
8
9
10
11
# File 'lib/restcomm-ruby/rest/task_router/workspaces.rb', line 7

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 Restcomm::REST::InstanceResource