Mattermost/V4/API/Object/WebRTCToken.pm

filter: Statementstmt 60.0% 9 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 25.0% 2 / 8 Podpod n/a totaltotal 47.8% 11 / 23 CC 1 SCAR 5.6
CC
1
Cov
60%
_build_token
2.0
_build_gateway_url
2.0
_build_stun_uri
2.0
CRAP 1.8
« Mattermost/V4/API/Resource/Plugins.pm ↑ Summary Mattermost/V4/API/Object/Error.pm »
1 package WebService::Mattermost::V4::API::Object::WebRTCToken;
2  
3 # ABSTRACT: A WebRTC token item.
4  
5 12 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 12 ▶use Types::Standard qw(Str Maybe);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 12 extends 'WebService::Mattermost::V4::API::Object';
9  
10 ################################################################################
11  
12 12 has [ qw(
13 token
14 gateway_url
15 stun_uri
16 turn_uri
17 turn_password
18 turn_username
19 ) ] => (is => 'ro', isa => Str, lazy => 1, builder => 1);
20  
21 ################################################################################
22  
23 0 ▶sub _build_token { shift->raw_data->{token} }
Subroutine _build_token: not called CC=1 SCAR=6.9
24 0 ▶sub _build_gateway_url { shift->raw_data->{gateway_url} }
Subroutine _build_gateway_url: not called CC=1 SCAR=6.9
25 0 ▶sub _build_stun_uri { shift->raw_data->{stun_url} }
Subroutine _build_stun_uri: not called CC=1 SCAR=6.9
26 0 ▶sub _build_turn_uri { shift->raw_data->{turn_url} }
Subroutine _build_turn_uri: not called CC=1 SCAR=6.9
27 0 ▶sub _build_turn_password { shift->raw_data->{turn_password} }
Subroutine _build_turn_password: not called CC=1 SCAR=6.9
28 0 ▶sub _build_turn_username { shift->raw_data->{turn_username} }
Subroutine _build_turn_username: not called CC=1 SCAR=6.9
29  
30 ################################################################################
31  
32 12 1;
33  
34 __END__
35  
36 =pod
37  
38 =encoding UTF-8
39  
40 =head1 NAME
41  
42 WebService::Mattermost::V4::API::Object::WebRTCToken - A WebRTC token item.
43  
44 =head1 VERSION
45  
46 version 0.28
47  
48 =head1 DESCRIPTION
49  
50 Details a Mattermost WebRTC token object.
51  
52 =head2 ATTRIBUTES
53  
54 =over 4
55  
56 =over 4
57  
58 =item C<token>
59  
60 =item C<gateway_url>
61  
62 =item C<stun_uri>
63  
64 =item C<turn_uri>
65  
66 =item C<turn_password>
67  
68 =item C<turn_username>
69  
70 =back
71  
72 =back
73  
74 =head1 AUTHOR
75  
76 Mike Jones <mike@netsplit.org.uk>
77  
78 =head1 COPYRIGHT AND LICENSE
79  
80 This software is Copyright (c) 2020 by Mike Jones.
81  
82 This is free software, licensed under:
83  
84 The MIT (X11) License
85  
86 =cut
« Mattermost/V4/API/Resource/Plugins.pm ↑ Summary Mattermost/V4/API/Object/Error.pm »