NAME

Badge::Depot::Plugin::Gratipay - Gratipay plugin for Badge::Depot (deprecated)

Requires Perl 5.10.1+ Travis status Distribution kwalitee CPAN Testers result coverage 96.7%

VERSION

Version 0.0103, released 2018-01-29.

SYNOPSIS

    use Badge::Depot::Plugin::Gratipay;

    my $badge = Badge::Depot::Plugin::Gratipay->new(user => 'my_name');

    print $badge->to_html;
    # prints '<a href="https://gratipay.com/my_name"><img src="https://img.shields.io/my_name.svg" /></a>'

STATUS

Deprecated. Since Gratipay has shut down this distribution has no purpose.

DESCRIPTION

Create a Gratipay badge for a Gratipay user.

This class consumes the Badge::Depot role.

ATTRIBUTES

user

The Gratipay user name.

custom_image_url

By default, this module shows an image from shields.io. Use this attribute to override that with a custom url. Use a %s placeholder where the user name should be inserted.

SEE ALSO

SOURCE

https://github.com/Csson/p5-Badge-Depot-Plugin-Gratipay

HOMEPAGE

https://metacpan.org/release/Badge-Depot-Plugin-Gratipay

AUTHOR

Erik Carlsson <info@code301.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Erik Carlsson.

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