WebApi/Users.pm

filter: Statementstmt 100% 23 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod n/a totaltotal 100% 31 / 31 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« WebApi/Team.pm ↑ Summary
1 package WebService::Slack::WebApi::Users;
2 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 ▶use parent 'WebService::Slack::WebApi::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 3 ▶use WebService::Slack::WebApi::Users::Profile;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 3 ▶use Class::Accessor::Lite::Lazy (
Subroutine BEGIN: called CC=1 SCAR=0.0
11 3 ro_lazy => [qw/ profile /],
12 3 );
13  
14 3 ▶use WebService::Slack::WebApi::Generator (
Subroutine BEGIN: called CC=1 SCAR=0.0
15 3 delete_photo => +{},
16 get_presence => {
17 user => 'Str',
18 },
19 identity => +{},
20 info => {
21 user => 'Str',
22 },
23 list => {
24 cursor => { isa => 'Str', optional => 1 },
25 limit => { isa => 'Int', optional => 1 },
26 presence => { isa => 'Bool', optional => 1 },
27 },
28 set_active => +{},
29 # set_photo => +{}, # FIXME: implement. https://github.com/mihyaeru21/p5-WebService-Slack-WebApi/issues/15
30 set_presence => {
31 presence => 'Str',
32 },
33 3 );
34  
35 2 ▶sub _build_profile {
Subroutine _build_profile: called CC=1 SCAR=0.0
36 2 return WebService::Slack::WebApi::Users::Profile->new(client => shift->client);
37 }
38  
39 3 1;
40  
« WebApi/Team.pm ↑ Summary