File Coverage

blib/lib/WebService/Mattermost/V4/API/Resource/Role/View/Bot.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package WebService::Mattermost::V4::API::Resource::Role::View::Bot;
2:

3: # ABSTRACT: Links a resource to the bot view. 4:
5: use Moo::Role;
6: use Types::Standard 'Str';
7:
8: ################################################################################
9:
10: has view_name => (is => 'ro', isa => Str, default => 'Bot');
11:
12: ################################################################################
13:
14: 1;
15:
16: __END__
17:
18: =pod
19:
20: =encoding UTF-8
21:
22: =head1 NAME
23:
24: WebService::Mattermost::V4::API::Resource::Role::View::Bot - Links a resource to the bot view.
25:
26: =head1 VERSION
27:
28: version 0.28
29:
30: =head1 DESCRIPTION
31:
32: Set a resource as using the L<WebService::Mattermost::V4::API::Object::Bot>
33: view.
34:
35: =head1 ATTRIBUTES
36:
37: =over 4
38:
39: =item C<view_name>
40:
41: =back
42:
43: =head1 AUTHOR
44:
45: Mike Jones <mike@netsplit.org.uk>
46:
47: =head1 COPYRIGHT AND LICENSE
48:
49: This software is Copyright (c) 2020 by Mike Jones.
50:
51: This is free software, licensed under:
52:
53: The MIT (X11) License
54:
55: =cut
56: