blib/lib/DigitalOcean/Networks.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 9 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | n/a | ||
total | 12 | 12 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 1 | 1 | 4 | use strict; | |||
1 | 1 | ||||||
1 | 31 | ||||||
2 | package DigitalOcean::Networks; | ||||||
3 | 1 | 1 | 4 | use Mouse; | |||
1 | 2 | ||||||
1 | 5 | ||||||
4 | 1 | 1 | 722 | use DigitalOcean::Type::Network; | |||
1 | 2 | ||||||
1 | 68 | ||||||
5 | |||||||
6 | #ABSTRACT: Represents a Network object in the DigitalOcean API | ||||||
7 | |||||||
8 | has v4 => ( | ||||||
9 | is => 'ro', | ||||||
10 | isa => 'CoercedArrayRefOfNetworks', | ||||||
11 | coerce => 1, | ||||||
12 | ); | ||||||
13 | |||||||
14 | has v6 => ( | ||||||
15 | is => 'ro', | ||||||
16 | isa => 'CoercedArrayRefOfNetworks', | ||||||
17 | coerce => 1, | ||||||
18 | ); | ||||||
19 | |||||||
20 | |||||||
21 | __PACKAGE__->meta->make_immutable(); | ||||||
22 | |||||||
23 | 1; | ||||||
24 | |||||||
25 | __END__ |