This patch adds two methods to Pithub::Repos: ->issues and ->pull_requests. These act as shortcuts to access a Pithub::Issues and Pithub::PullRequests inheriting the parameters from the parent repo.
This makes it easier to use Pithub in the way requested in #194 and #196.
This PR brought to you by the CPAN pull request challenge.
Coverage increased (+0.003%) to 99.075% when pulling 7a01e14d092137ef1775f80c444e73a5b71cc40f on jjatria:wishlist into 6ec66c3d8884bd98598e4c19c9e8f4908c09fdf4 on plu:master.
Coverage increased (+0.004%) to 99.017% when pulling da6822854eb086b25bcee123c8296227ba5dafef on jjatria:wishlist into ad4c3bac8a80f239b1dec3a1b2ac97dc58a561f0 on plu:master.
Coverage increased (+0.004%) to 99.017% when pulling da6822854eb086b25bcee123c8296227ba5dafef on jjatria:wishlist into ad4c3bac8a80f239b1dec3a1b2ac97dc58a561f0 on plu:master.
This patch adds two methods to
Pithub::Repos
:->issues
and->pull_requests
. These act as shortcuts to access aPithub::Issues
andPithub::PullRequests
inheriting the parameters from the parent repo.This makes it easier to use Pithub in the way requested in #194 and #196.
This PR brought to you by the CPAN pull request challenge.