Closed oreoshake closed 7 years ago
Wouldn't moving this functionality somewhere else cause a breaking change? If so, is that acceptable?
Maybe we can get away with delegators and deprecation statements but semver does allow for unstable APIs until 1.0.
I can look into this once #22 has been merged. Once the helpers introduced in that PR are available, I think resolving this task would be a bit easier.
state_change
,add_comment
,triage
,add_report_reference
are all specific to reports yet live in the hodge podgeHackerOne::Client
class.This is fine when the library is tiny and with few developers, but it can get out of hand quickly.
There's probably a few opportunities to DRY up the code too.