| 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__ |