oreoshake / hackerone-client

An unofficial wrapper for the HackerOne API
https://api.hackerone.com/docs/v1
MIT License
55 stars 27 forks source link

Add support for on_state_change hooks #34

Closed esjee closed 7 years ago

esjee commented 7 years ago

25

Usage:

# Initialization

HackerOne::Client::Report.add_state_change_hook ->(report, old_state, new_state) do
  # ...
end
oreoshake commented 7 years ago

Whoops, forgot about this one before releasing 0.10.0 😢