Skip to content

Commit

Permalink
pod update
Browse files Browse the repository at this point in the history
  • Loading branch information
fayland committed Apr 22, 2009
1 parent 57a192e commit 93535b1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions lib/Net/GitHub.pm
Original file line number Diff line number Diff line change
Expand Up @@ -63,27 +63,30 @@ Read L<Net::GitHub::V2> for more details.
login => 'fayland', token => '54b5197d7f92f52abc5c7149b313cf51', # faked
);
# L<Net::GitHub::V2::Repositories>
$github->repos->create( 'sandbox3', 'Sandbox desc', 'http://fayland.org/', 1 );
$github->repos->show();
# L<Net::GitHub::V2::Users>
my $followers = $github->user->followers();
$github->user->update( name => 'Fayland Lam' );
# L<Net::GitHub::V2::Commits>
my $commits = $github->commit->branch();
my $commits = $github->commit->file( 'master', 'lib/Net/GitHub.pm' );
my $co_detail = $github->commit->show( $sha1 );
# L<Net::GitHub::V2::Issues>
my $issues = $github->issue->list('open');
list method returns array reference of L<Net::Github::V2::Issues>.
my $issue = $github->issue->open( 'Bug title', 'Bug detail' );
$github->issue->close( $number );
# L<Net::GitHub::V2::Object>
my $tree = $github->obj_tree( $tree_sha1 );
my $blob = $github->obj_blob( $tree_sha1, 'lib/Net/GitHub.pm' );
my $raw = $github->obj_raw( $sha1 );
# L<Net::GitHub::V2::Network>
$github->network_meta;
$github->network_data_chunk( $net_hash );
Expand Down
2 changes: 1 addition & 1 deletion lib/Net/GitHub/V2/Role.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Net::GitHub::V2::Role;

use Moose::Role;

our $VERSION = '0.11';
our $VERSION = '0.12';
our $AUTHORITY = 'cpan:FAYLAND';

use JSON::Any;
Expand Down

0 comments on commit 93535b1

Please sign in to comment.