Reference

Net::GitHub::V2::NoRepo(3pm)

Base role for Net::GitHub::V2, no repo access

NAME

Net::GitHub::V2::NoRepo - Base role for Net::GitHub::V2, no repo access

SYNOPSIS

    package Net::GitHub::V2::XXX;
    use Any::Moose;
    with 'Net::GitHub::V2::NoRepo';

DESCRIPTION

If login and token are not given to new, the module will look in the .gitconfig file if they are defined (see http://github.com/blog/180-local-github-config <http://github.com/blog/180-local-github-config>).

ATTRIBUTES

login
token
always_Authorization

always send 'Authorization' header, useful to get private respo etc.

METHODS

ua

instance of WWW::Mechanize

json

instance of JSON::Any

get

handled by WWW::Mechanize

get_json_to_obj
get_json_to_obj_authed

AUTHOR

Fayland Lam, "<fayland at gmail.com>"

Chris Nehren "[email protected]" refactored Net::GitHub::V2::Role to be smarter about requiring a repo.

Lubomir Rintel "[email protected]" for improvements

COPYRIGHT & LICENSE

Copyright 2009 - 2011 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.

History