File Coverage

blib/lib/DigitalOcean/Kernel.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 1     1   3 use strict;
  1         1  
  1         27  
2             package DigitalOcean::Kernel;
3 1     1   3 use Mouse;
  1         1  
  1         3  
4              
5             #ABSTRACT: Represents a Kernel object in the DigitalOcean API
6              
7             has id => (
8             is => 'ro',
9             isa => 'Num',
10             );
11              
12             has name => (
13             is => 'ro',
14             isa => 'Str',
15             );
16              
17             has version => (
18             is => 'ro',
19             isa => 'Str',
20             );
21              
22              
23             __PACKAGE__->meta->make_immutable();
24              
25             1;
26              
27             __END__