NAME
Pithub::GitData::Blobs - Github v3 Git Data Blobs API
VERSION
version 0.01001
METHODS
create
Create a Blob
POST /repos/:user/:repo/git/blobs
Examples:
$result = $p->git_data->blobs->create(
user => 'plu',
repo => 'Pithub',
data => {
content => 'Content of the blob',
encoding => 'utf-8',
}
);
get
Get a Blob
GET /repos/:user/:repo/git/blobs/:sha
Examples:
$result = $p->git_data->blobs->get(
user => 'plu',
repo => 'Pithub',
sha => 'df21b2660fb6',
);
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.