File Coverage

blib/lib/DNS/Oterica/Node/Domain.pm
Criterion Covered Total %
statement 6 7 85.7
branch n/a
condition n/a
subroutine 2 3 66.6
pod 1 1 100.0
total 9 11 81.8


line stmt bran cond sub pod time code
1             package DNS::Oterica::Node::Domain;
2             # ABSTRACT: a domain node
3             $DNS::Oterica::Node::Domain::VERSION = '0.303';
4 1     1   3 use Moose;
  1         1  
  1         6  
5             extends 'DNS::Oterica::Node';
6              
7             #pod =head1 OVERVIEW
8             #pod
9             #pod DNS::Oterica::Node::Domain represents a domain name in DNS::Oterica. Domains
10             #pod have hosts.
11             #pod
12             #pod =method fqdn
13             #pod
14             #pod The fully qualified domain name for this domain.
15             #pod
16             #pod =cut
17              
18 0     0 1   sub fqdn { $_[0]->domain; }
19              
20             __PACKAGE__->meta->make_immutable;
21 1     1   3895 no Moose;
  1         1  
  1         3  
22             1;
23              
24             __END__
25              
26             =pod
27              
28             =encoding UTF-8
29              
30             =head1 NAME
31              
32             DNS::Oterica::Node::Domain - a domain node
33              
34             =head1 VERSION
35              
36             version 0.303
37              
38             =head1 OVERVIEW
39              
40             DNS::Oterica::Node::Domain represents a domain name in DNS::Oterica. Domains
41             have hosts.
42              
43             =head1 METHODS
44              
45             =head2 fqdn
46              
47             The fully qualified domain name for this domain.
48              
49             =head1 AUTHOR
50              
51             Ricardo SIGNES <rjbs@cpan.org>
52              
53             =head1 COPYRIGHT AND LICENSE
54              
55             This software is copyright (c) 2016 by Ricardo SIGNES.
56              
57             This is free software; you can redistribute it and/or modify it under
58             the same terms as the Perl 5 programming language system itself.
59              
60             =cut