Method: Twilio::REST::Taskrouter::V1::WorkspaceContext::TaskQueueInstance#context
- Defined in:
- lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb
#context ⇒ TaskQueueContext
Generate an instance context for the instance, the context is capable of performing various actions. All instance actions are proxied to the context
424 425 426 427 428 429 |
# File 'lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb', line 424 def context unless @instance_context @instance_context = TaskQueueContext.new(@version , @params['workspace_sid'], @params['sid']) end @instance_context end |