jcabi-github icon indicating copy to clipboard operation
jcabi-github copied to clipboard

Inject root paths in the constructor

Open amihaiemil opened this issue 5 years ago • 0 comments

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.

amihaiemil avatar Jan 26 '20 17:01 amihaiemil