Minimal POD for nacked methods
authordiegok <diego@freekeylabs.com>
Tue, 25 Dec 2012 22:44:56 +0000 (23:44 +0100)
committerdiegok <diego@freekeylabs.com>
Tue, 25 Dec 2012 22:44:56 +0000 (23:44 +0100)
lib/WWW/EZTV.pm
lib/WWW/EZTV/UA.pm

index 98ed361..6166418 100644 (file)
@@ -11,13 +11,13 @@ has url_shows => ( is => 'ro', lazy => 1, default => sub { shift->url->clone->pa
 has shows => 
     is      => 'ro',
     lazy    => 1,
-    default => \&build_shows,
+    builder => '_build_shows',
     handles => {
         find_show    => 'first',
         has_shows    => 'size',
     };
 
-sub build_shows {
+sub _build_shows {
     my $self = shift;
 
     $self->get_response( $self->url_shows )->dom->find('table.forum_header_border tr[name="hover"]')->map(sub {
index f2fbeeb..41df609 100644 (file)
@@ -2,8 +2,12 @@ package WWW::EZTV::UA;
 use Moose::Role;
 use Mojo::UserAgent;
 
+# ABSTRACT: User agent for EZTV scrapper.
+
 has ua  => ( is => 'ro', lazy => 1, default => sub { $EZTV::Global::UA || ($EZTV::Global::UA = Mojo::UserAgent->new) } );
 
+=method get_response
+=cut
 sub get_response {
     my ($self, $url) = (shift, shift);