RST/Resource.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
url
2.0
description
2.0
BEGIN
2.0
CRAP 2.0
1 package ICANN::RST::Resource;
2 # ABSTRACT: an object representing an RST resource.
3 use URI;
4 use base qw(ICANN::RST::Base);
5 use strict;
6  
7 sub url { URI->new($_[0]->{'URL'}) }
8 sub description { ICANN::RST::Text->new($_[0]->{'Description'}) }
9  
10 1;
11  
12 __END__