README.md in hackerone-client-0.9.1 vs README.md in hackerone-client-0.10.0
- old
+ new
@@ -18,10 +18,11 @@
# POST '/reports/#{id}/activities'
report.add_comment(message, internal: false) # internal is true by default
# POST '/report/{id}/state_change change the state of a report
# `state` can be one of new, triaged, needs-more-info, resolved, not-applicable, informative, duplicate, spam
-report.state_change(state)
+# when marking as duplicate, you can supply the original report ID
+report.state_change(:duplicate, "Your issue has been marked as X", original_report_id: 12345)
# POST '/report/{id}/add_report_reference add a "reference" e.g. internal issue number
report.add_report_reference(reference)
# Triage an issue (add a reference and set state to :triaged)