1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
|
Description: re-order POD sections to fix POD ERRORS
Something between GitHub and MetaCPAN seems to have gone wrong.
Origin: vendor
Bug: https://github.com/plu/Pithub/issues/209
Forwarded: https://github.com/plu/Pithub/issues/209
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2025-05-24
--- a/lib/Pithub/Base.pm
+++ b/lib/Pithub/Base.pm
@@ -568,6 +568,10 @@
=item *
+B<has_jsonp_callback>: check if the jsonp_callback attribute is set
+
+=back
+
=head2 per_page
Controls how many items are fetched per API call, aka "page". See
@@ -597,6 +601,10 @@
=item *
+B<has_per_page>: check if the per_page attribute is set
+
+=back
+
=head2 prepare_request
This is a CodeRef and can be used to modify the L<HTTP::Request>
@@ -675,6 +683,10 @@
=item *
+B<has_repo>: check if the repo attribute is set
+
+=back
+
=head2 token
If the OAuth token is set, L<Pithub> will sent it via an HTTP header
@@ -710,6 +722,17 @@
=item *
+B<has_user>: check if the user attribute is set
+
+=back
+
+It might make sense to use this together with the repo attribute:
+
+ my $c = Pithub::Repos::Commits->new( user => 'plu', repo => 'Pithub' );
+ my $result = $c->list;
+ my $result = $c->list_comments;
+ my $result = $c->get('6b6127383666e8ecb41ec20a669e4f0552772363');
+
=head2 utf8
This can set utf8 flag.
@@ -868,39 +891,6 @@
Query the rate limit for the current object and authentication method.
-=for Pod::Coverage has_jsonp_callback
-
-B<has_jsonp_callback>: check if the jsonp_callback attribute is set
-
-=back
-
-=for Pod::Coverage has_per_page
-
-B<has_per_page>: check if the per_page attribute is set
-
-=back
-
-=for Pod::Coverage has_prepare_request
-
-=for Pod::Coverage has_repo
-
-B<has_repo>: check if the repo attribute is set
-
-=back
-
-=for Pod::Coverage has_user
-
-B<has_user>: check if the user attribute is set
-
-=back
-
-It might make sense to use this together with the repo attribute:
-
- my $c = Pithub::Repos::Commits->new( user => 'plu', repo => 'Pithub' );
- my $result = $c->list;
- my $result = $c->list_comments;
- my $result = $c->get('6b6127383666e8ecb41ec20a669e4f0552772363');
-
=head1 AUTHOR
Johannes Plunien <plu@cpan.org>
|