File Coverage

blib/lib/DNS/Oterica/Role/HasHub.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             package DNS::Oterica::Role::HasHub;
2             # ABSTRACT: any part of the dnso system that has a reference to the hub
3             $DNS::Oterica::Role::HasHub::VERSION = '0.304';
4 2     2   1303 use Moose::Role;
  2         3  
  2         14  
5              
6 2     2   7754 use namespace::autoclean;
  2         10850  
  2         6  
7              
8             has hub => (
9             is => 'ro',
10             isa => 'DNS::Oterica::Hub',
11             weak_ref => 1,
12             required => 1,
13             # handles => 'DNS::Oterica::Role::RecordMaker',
14             handles => [ qw(rec) ],
15             );
16              
17             1;
18              
19             __END__
20              
21             =pod
22              
23             =encoding UTF-8
24              
25             =head1 NAME
26              
27             DNS::Oterica::Role::HasHub - any part of the dnso system that has a reference to the hub
28              
29             =head1 VERSION
30              
31             version 0.304
32              
33             =head1 AUTHOR
34              
35             Ricardo SIGNES <rjbs@cpan.org>
36              
37             =head1 COPYRIGHT AND LICENSE
38              
39             This software is copyright (c) 2016 by Ricardo SIGNES.
40              
41             This is free software; you can redistribute it and/or modify it under
42             the same terms as the Perl 5 programming language system itself.
43              
44             =cut