Twilio/Jwt/Grants/VideoGrant.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 100% 4 / 4 totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Twilio/Jwt/Grants/TaskRouterGrant.pm ↑ Summary Twilio/Jwt/TaskRouter/TaskQueueCapability.pm »
1 package Twilio::Jwt::Grants::VideoGrant;
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::Grants::Grant';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 2 our $VERSION = '2.001';
9  
10 11 ▶sub get_grant_key { return 'video' }
Subroutine get_grant_key: called CC=1 SCAR=0.0
Pod documented
11  
12 12 ▶sub payload_fields { return qw(room) }
Subroutine payload_fields: called CC=1 SCAR=0.0
Pod documented
13  
14 1 ▶sub get_room { return $_[0]{room} }
Subroutine get_room: called CC=1 SCAR=0.0
Pod documented
15  
16 3 ▶sub set_room {
Subroutine set_room: called CC=1 SCAR=0.0
Pod documented
17 3 my ($self, $room) = @_;
18 3 $self->{room} = $room;
19 3 return $self;
20 }
21  
22 2 1;
23  
24 __END__
« Twilio/Jwt/Grants/TaskRouterGrant.pm ↑ Summary Twilio/Jwt/TaskRouter/TaskQueueCapability.pm »