File Coverage

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