MetaCPAN-Client
view release on metacpan or search on metacpan
lib/MetaCPAN/Client/Scroll.pm view on Meta::CPAN
use strict;
use warnings;
package MetaCPAN::Client::Scroll;
# ABSTRACT: A MetaCPAN::Client scroller
$MetaCPAN::Client::Scroll::VERSION = '2.042000';
use Moo;
use Carp;
use Ref::Util qw< is_hashref >;
use JSON::MaybeXS qw< decode_json encode_json >;
use MetaCPAN::Client::Types qw< Str Int Time ArrayRef HashRef Bool >;
has ua => (
is => 'ro',
required => 1,
);
has size => (
is => 'ro',
isa => Str,
);
has time => (
is => 'ro',
isa => Time,
);
has base_url => (
is => 'ro',
isa => Str,
required => 1,
);
has type => (
is => 'ro',
isa => Str,
required => 1,
);
has body => (
is => 'ro',
isa => HashRef,
required => 1,
);
has _id => (
is => 'ro',
isa => Str,
);
has _buffer => (
is => 'ro',
isa => ArrayRef,
default => sub { [] },
);
has _remaining => (
is => 'rw',
isa => Int,
default => sub { 0 },
);
has total => (
is => 'ro',
isa => Int,
);
has aggregations => (
( run in 0.892 second using v1.01-cache-2.11-cpan-39bf76dae61 )