Group
Extension

Matches 4

Pithub ( P/PL/PLU/Pithub-0.01011.tar.gz, PLU, 2011; MetaCPAN )
Pithub/lib/Pithub/Result.pm ( view source; MetaCPAN )
t::VERSION = '0.01011';
}

# ABSTRACT: Github v3 result object

use Moo;
use Array::Iterator;
use JSON::Any;
use URI;


has 'auto_pagination' => (
    default => 0,
    is      => 'rw',
);


has 'cont
zy    => 1,
);

has '_json' => (
    builder => '_build__json',
    is      => 'ro',
    isa     => sub { die 'must be a JSON::Any, but is ' . ref $_[0] unless ref $_[0] eq 'JSON::Any' },
    lazy    

sub _build_content {
    my ($self) = @_;
    if ( $self->raw_content ) {
        return $self->_json->decode( $self->raw_content );
    }
    return {};
}

sub _build_first_page_uri {
    return shi
Pithub ( P/PL/PLU/Pithub-0.01011.tar.gz, OALDERS, 2011; MetaCPAN )
Pithub/lib/Pithub/Markdown.pm ( view source; MetaCPAN )
"github/gollum",
            mode => "gfm",
        },
    );

    # Note that response is NOT in JSON, so ->content will die
    my $html = $response->raw_content;

=head1 AUTHOR

Johannes Plunien <p
Pithub ( P/PL/PLU/Pithub-0.01011.tar.gz, OALDERS, 2011; MetaCPAN )
Pithub/lib/Pithub/Repos/Releases.pm ( view source; MetaCPAN )
   => JSON::MaybeXS::false(),           # or alternative below
            prerelease       => JSON::MaybeXS::false(),           # or alternative below
            generate_release_notes => JSON::Mayb
and will not be encoded correctly
in the JSON encoded request.

There are numerous options for your call to Pithub::Repos::Releases->create.

=over

=item JSON::MaybeXS

Add the following to your code
:Releases->create.

    require JSON::MaybeXS;

Then use the following values for the booleans:

    JSON::MaybeXS::true()
    JSON::MaybeXS::false()

=item Cpanel::JSON::XS

Add the following to your
Pithub ( P/PL/PLU/Pithub-0.01011.tar.gz, PLU, 2011; MetaCPAN )
Pithub/lib/Pithub/Base.pm ( view source; MetaCPAN )
ss for all Pithub modules

use Moo;
use Carp qw(croak);
use HTTP::Headers;
use HTTP::Request;
use JSON::Any;
use LWP::UserAgent;
use Pithub::Result;
use URI;


has 'auto_pagination' => (
    default =
pi_uri} = URI->new("$uri");
    },
);


has 'jsonp_callback' => (
    clearer   => 'clear_jsonp_callback',
    is        => 'rw',
    predicate => 'has_jsonp_callback',
    required  => 0,
);


has 'p
   is        => 'rw',
    predicate => 'has_user',
    required  => 0,
);

has '_json' => (
    builder => '_build__json',
    is      => 'ro',
    lazy    => 1,
);

my @TOKEN_REQUIRED = (
    'DELETE

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.