Mattermost/V4/API/Object/Results.pm

filter: Statementstmt 90.0% 9 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod n/a totaltotal 84.6% 11 / 13 CC 1 SCAR 2.9
CC
1
Cov
90%
_build_results
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Mattermost/V4/API/Resource/DataRetention.pm ↑ Summary Mattermost/V4/API/Object/ChannelStats.pm »
1 package WebService::Mattermost::V4::API::Object::Results;
2  
3 # ABSTRACT: A result object.
4  
5 12 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 12 ▶use Types::Standard qw(Maybe Str);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 12 extends 'WebService::Mattermost::V4::API::Object';
9  
10 ################################################################################
11  
12 12 has results => (is => 'ro', isa => Maybe[Str], lazy => 1, builder => 1);
13  
14 ################################################################################
15  
16 0 ▶sub _build_results { shift->raw_data->{results} }
Subroutine _build_results: not called CC=1 SCAR=6.9
17  
18 ################################################################################
19  
20 12 1;
21  
22 __END__
23  
24 =pod
25  
26 =encoding UTF-8
27  
28 =head1 NAME
29  
30 WebService::Mattermost::V4::API::Object::Results - A result object.
31  
32 =head1 VERSION
33  
34 version 0.28
35  
36 =head1 DESCRIPTION
37  
38 Details a Mattermost Results object. Returned only by L<WebService::Mattermost::V4::API::Resource::Team>'s
39 C<import_from_existing()> method.
40  
41 =head2 ATTRIBUTES
42  
43 =over 4
44  
45 =item * C<results>
46  
47 Stringified "results".
48  
49 =back
50  
51 =head1 AUTHOR
52  
53 Mike Jones <mike@netsplit.org.uk>
54  
55 =head1 COPYRIGHT AND LICENSE
56  
57 This software is Copyright (c) 2020 by Mike Jones.
58  
59 This is free software, licensed under:
60  
61 The MIT (X11) License
62  
63 =cut
« Mattermost/V4/API/Resource/DataRetention.pm ↑ Summary Mattermost/V4/API/Object/ChannelStats.pm »