Twilio/Jwt/TaskRouter/TaskQueueCapability.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 2 / 2 totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Twilio/Jwt/Grants/VideoGrant.pm ↑ Summary Twilio/Jwt/TaskRouter/WorkerCapability.pm »
1 package Twilio::Jwt::TaskRouter::TaskQueueCapability;
2  
3 2 ▶use 5.016;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 ▶use parent 'Twilio::Jwt::TaskRouter::CapabilityToken';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 2 our $VERSION = '2.001';
9  
10 2 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
11 2 my ($class, $account_sid, $auth_token, $workspace_sid, $task_queue_sid, $base_url, $base_ws_url)
12 = @_;
13 2 return $class->SUPER::new($account_sid, $auth_token, $workspace_sid, $task_queue_sid, undef,
14 $base_url, $base_ws_url);
15 }
16  
17 2 ▶sub setup_resource {
Subroutine setup_resource: called CC=1 SCAR=0.0
Pod documented
18 2 my ($self) = @_;
19 2 $self->{resource_url} = "$self->{base_url}/TaskQueues/$self->{channel_id}";
20 2 return;
21 }
22  
23 2 1;
24  
25 __END__
« Twilio/Jwt/Grants/VideoGrant.pm ↑ Summary Twilio/Jwt/TaskRouter/WorkerCapability.pm »