| 1 | ########################################### | ||
| 2 | package OAuth::Cmdline::Youtube; | ||
| 3 | ########################################### | ||
| 4 | use strict; | ||
| 5 | use warnings; | ||
| 6 | use MIME::Base64; | ||
| 7 | use base qw( OAuth::Cmdline ); | ||
| 8 | |||
| 9 | ########################################### | ||
| 10 | sub site { | ||
| 11 | ########################################### | ||
| 12 | return "youtube"; | ||
| 13 | } | ||
| 14 | |||
| 15 | 1; | ||
| 16 | |||
| 17 | __END__ | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | OAuth::Cmdline::Youtube - Youtube-specific settings for OAuth::Cmdline | ||
| 22 | |||
| 23 | =head1 SYNOPSIS | ||
| 24 | |||
| 25 | my $oauth = OAuth::Cmdline::Youtube->new( ); | ||
| 26 | $oauth->access_token(); | ||
| 27 | |||
| 28 | =head1 DESCRIPTION | ||
| 29 | |||
| 30 | This class overrides methods of C<OAuth::Cmdline> if Youtube's Web API | ||
| 31 | requires it. | ||
| 32 | |||
| 33 | =head1 LEGALESE | ||
| 34 | |||
| 35 | Copyright 2016 by Mike Schilli, all rights reserved. | ||
| 36 | This program is free software, you can redistribute it and/or | ||
| 37 | modify it under the same terms as Perl itself. | ||
| 38 | |||
| 39 | =head1 AUTHOR | ||
| 40 | |||
| 41 | 2016, Mike Schilli <cpan@perlmeister.com> |