Pithub::Users::Emails(3) Github v3 User Emails API

VERSION

version 0.01033

METHODS

add

  • Add email address(es)

        POST /user/emails
    

    Examples:

        my $e = Pithub::Users::Emails->new( token => 'b3c62c6' );
        my $result = $e->add( data => [ '[email protected]', '[email protected]' ] );
    

delete

  • Delete email address(es)

        DELETE /user/emails
    

    Examples:

        my $e = Pithub::Users::Emails->new( token => 'b3c62c6' );
        my $result = $e->delete( data => [ '[email protected]', '[email protected]' ] );
    

list

  • List email addresses for a user

        GET /user/emails
    

    Examples:

        my $e = Pithub::Users::Emails->new( token => 'b3c62c6' );
        my $result = $e->list;
    

AUTHOR

Johannes Plunien <[email protected]>

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.