jcabi-github
jcabi-github copied to clipboard
Inject root paths in the constructor
Classes such as RtRepos and RtIssues are hardcoding their root paths (/repos and /issues respectively) in all of their methods.
These root paths should be set in the constructor to remove repetition and make future path changes easier.