NAME

Net::GitHub::Role - Common between Net::GitHub::* libs

SYNOPSIS

package Net::GitHub::XXX;

use Moose;
with 'Net::GitHub::Role';

DESCRIPTION

ATTRIBUTES

login
password
token

METHODS

ua

instance of WWW::Mechanize

json

instance of JSON::Any

get

wrap ua->get with success check

signin
$self->signin( $login, $password );

login through https://github.com/login by $self->ua

AUTHOR

Fayland Lam, <fayland at gmail.com>

COPYRIGHT & LICENSE

Copyright 2009 Fayland Lam, all rights reserved.

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