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