Method: Twilio::REST::Taskrouter::V1::WorkspaceContext::TaskQueueInstance#context

Defined in:
lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb

#contextTaskQueueContext

Generate an instance context for the instance, the context is capable of performing various actions. All instance actions are proxied to the context

Returns:



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