Pithub::PullRequests::Reviewers(3)

NAME
Pithub::PullRequests::Reviewers - Github v3 Pull Request Review Requests API

VERSION
version 0.01043

METHODS

  delete

•   Remove requested reviewers

        DELETE /repos/:user/:repo/pulls/:id/requested_reviewers

    Examples:

        my $c = Pithub::PullRequests::Reviewers->new;
        my $result = $c->delete(
            repo            => 'Pithub',
            user            => 'plu',
            pull_request_id => 1,
        );

  list

•   List requested_reviewers for a pull request

        GET /repos/:user/:repo/pulls/:id/requested_reviewers

    Examples:

        my $c = Pithub::PullRequests::Reviewers->new;
        my $result = $c->list(
            repo            => 'Pithub',
            user            => 'plu',
            pull_request_id => 1,
        );

  update

•   Request reviewers for a pull request

        POST /repos/:user/:repo/pulls/:id/requested_reviewers

    Examples:

        my $c = Pithub::PullRequests::Reviewers->new;
        my $result = $c->update(
            repo       => 'Pithub',
            user       => 'plu',
            pull_request_id => 1,
            data       => { reviewers => ['octocat'] },
        );

AUTHOR
Johannes Plunien <plu@cpan.org>

COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Johannes Plunien.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.