NAME
Twilio::Jwt::TaskRouter::TaskQueueCapability - A capability token for a task queue
SYNOPSIS
my $capability = Twilio::Jwt::TaskRouter::TaskQueueCapability->new(
$account_sid, $auth_token, $workspace_sid, $task_queue_sid
);
print $capability->generate_token;
DESCRIPTION
See Twilio::Jwt::TaskRouter::CapabilityToken for the other methods.
METHODS
new
my $capability = Twilio::Jwt::TaskRouter::TaskQueueCapability->new(
$account_sid, $auth_token, $workspace_sid, $task_queue_sid, $base_url, $base_ws_url
);
setup_resource
Sets the URL of the task queue.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.