File Coverage

blib/lib/Net/GitHub/V3/ResultSet.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Net::GitHub::V3::ResultSet;
2              
3             our $VERSION = '1.05';
4             our $AUTHORITY = 'cpan:FAYLAND';
5              
6 1     1   7 use Types::Standard qw(Int Str ArrayRef Bool);
  1         2  
  1         7  
7 1     1   789 use Moo;
  1         2  
  1         8  
8              
9             has 'url' => ( is => 'rw', isa => Str, required => 1);
10             has 'results' => ( is => 'rw', isa => ArrayRef, default => sub { [] } );
11             has 'cursor' => ( is => 'rw', isa => Int, default => 0 );
12             has 'done' => ( is => 'rw', isa => Bool, default => 0 );
13             has 'next_url' => ( is => 'rw', isa => Str );
14              
15 1     1   415 no Moo;
  1         2  
  1         4  
16              
17             1;
18             __END__