Mattermost/V4/API/Object/Binary.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
_build_content
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package WebService::Mattermost::V4::API::Object::Binary;
2  
3 # ABSTRACT: A binary item.
4  
5 use Moo;
6 use Types::Standard qw(Maybe Str);
7  
8 extends 'WebService::Mattermost::V4::API::Object';
9  
10 ################################################################################
11  
12 has content => (is => 'ro', isa => Maybe[Str], lazy => 1, builder => 1);
13  
14 ################################################################################
15  
16 sub _build_content { shift->raw_content }
17  
18 ################################################################################
19  
20 1;
21  
22 __END__
23  
24 =pod
25  
26 =encoding UTF-8
27  
28 =head1 NAME
29  
30 WebService::Mattermost::V4::API::Object::Binary - A binary item.
31  
32 =head1 VERSION
33  
34 version 0.28
35  
36 =head1 DESCRIPTION
37  
38 Contains raw binary for a file returned from Mattermost.
39  
40 =head2 ATTRIBUTES
41  
42 =over 4
43  
44 =item C<content>
45  
46 Raw binary content.
47  
48 =back
49  
50 =head1 AUTHOR
51  
52 Mike Jones <mike@netsplit.org.uk>
53  
54 =head1 COPYRIGHT AND LICENSE
55  
56 This software is Copyright (c) 2020 by Mike Jones.
57  
58 This is free software, licensed under:
59  
60 The MIT (X11) License
61  
62 =cut