NAME
Pithub::GitData::Blobs
VERSION
version 0.01000
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',
);