Pithub::Gists::Comments - Github v3 Gist Comments API
version 0.01002
Create a comment
POST /gists/:gist_id/comments
Examples:
$result = $p->gists->comments->create( gist_id => 1, data => { body => 'some comment' }, );
Delete a comment
DELETE /gists/comments/:id
$result = $p->gists->comments->delete( comment_id => 1 );
Get a single comment
GET /gists/comments/:id
$result = $p->gists->comments->get( comment_id => 1 );
List comments on a gist
GET /gists/:gist_id/comments
$result = $p->gists->comments->list( gist_id => 1 );
Edit a comment
PATCH /gists/comments/:id
$result = $p->gists->comments->update( comment_id => 1, data => { body => 'some comment' } );
Johannes Plunien <plu@cpan.org>
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.
To install Pithub, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pithub
CPAN shell
perl -MCPAN -e shell install Pithub
For more information on module installation, please visit the detailed CPAN module installation guide.