Mattermost/V4/API/Object/Application.pm

filter: Statementstmt 73.3% 11 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 33.3% 2 / 6 Podpod n/a totaltotal 61.9% 13 / 21 CC 1 SCAR 5.1
CC
1
Cov
73%
_build_client_secret
2.0
_build_icon_url
2.0
_build_homepage
2.0
CRAP 1.7
« Mattermost/V4/API/Object/Log.pm ↑ Summary Mattermost/V4/API/Object/Audit.pm »
1 package WebService::Mattermost::V4::API::Object::Application;
2  
3 # ABSTRACT: An application item.
4  
5 12 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 12 ▶use Types::Standard qw(ArrayRef Bool Maybe Str);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 12 extends 'WebService::Mattermost::V4::API::Object';
9 12 with qw(
10 WebService::Mattermost::V4::API::Object::Role::Description
11 WebService::Mattermost::V4::API::Object::Role::ID
12 WebService::Mattermost::V4::API::Object::Role::Name
13 WebService::Mattermost::V4::API::Object::Role::CreatedAt
14 WebService::Mattermost::V4::API::Object::Role::UpdatedAt
15 );
16  
17 ################################################################################
18  
19 12 has [ qw(
20 client_secret
21 icon_url
22 homepage
23 ) ] => (is => 'ro', isa => Maybe[Str], lazy => 1, builder => 1);
24 12 has is_trusted => (is => 'ro', isa => Maybe[Bool], lazy => 1, builder => 1);
25  
26 ################################################################################
27  
28 0 ▶sub _build_client_secret { shift->raw_data->{client_secret} }
Subroutine _build_client_secret: not called CC=1 SCAR=6.9
29 0 ▶sub _build_icon_url { shift->raw_data->{icon_url} }
Subroutine _build_icon_url: not called CC=1 SCAR=6.9
30 0 ▶sub _build_homepage { shift->raw_data->{homepage} }
Subroutine _build_homepage: not called CC=1 SCAR=6.9
31 0 ▶sub _build_is_trusted { shift->raw_data->{is_trusted} }
Subroutine _build_is_trusted: not called CC=1 SCAR=6.9
32  
33 ################################################################################
34  
35 12 1;
36  
37 __END__
38  
39 =pod
40  
41 =encoding UTF-8
42  
43 =head1 NAME
44  
45 WebService::Mattermost::V4::API::Object::Application - An application item.
46  
47 =head1 VERSION
48  
49 version 0.28
50  
51 =head1 DESCRIPTION
52  
53 Details a Mattermost Application object.
54  
55 =head2 ATTRIBUTES
56  
57 =over 4
58  
59 =item C<client_secret>
60  
61 =item C<icon_url>
62  
63 =item C<homepage>
64  
65 =item C<is_trusted>
66  
67 =back
68  
69 =head1 SEE ALSO
70  
71 =over 4
72  
73 =item L<WebService::Mattermost::V4::API::Object::Role::ID>
74  
75 =back
76  
77 =head1 AUTHOR
78  
79 Mike Jones <mike@netsplit.org.uk>
80  
81 =head1 COPYRIGHT AND LICENSE
82  
83 This software is Copyright (c) 2020 by Mike Jones.
84  
85 This is free software, licensed under:
86  
87 The MIT (X11) License
88  
89 =cut
« Mattermost/V4/API/Object/Log.pm ↑ Summary Mattermost/V4/API/Object/Audit.pm »