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.03';
4             our $AUTHORITY = 'cpan:FAYLAND';
5              
6 1     1   6 use Types::Standard qw(Int Str ArrayRef Bool);
  1         3  
  1         6  
7 1     1   687 use Moo;
  1         2  
  1         10  
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   430 no Moo;
  1         2  
  1         11  
16              
17             1;
18             __END__