README.md in hackerone-client-0.22.1 vs README.md in hackerone-client-0.23.0

- old
+ new

@@ -1,8 +1,8 @@ # Hackerone::Client -A limited client library for interacting with HackerOne in Ruby. Currently only supports a few operations: +A limited client library for interacting with HackerOne in Ruby. Currently supports a few operations: ```ruby client = HackerOne::Client::Api.new("github") # POST '/reports' creates a new report @@ -55,9 +55,26 @@ # Updates a program's policy program.update_policy(policy: "Please submit valid vulnerabilities") # Gets a program's balance program.balance + +# Gets a list of structured scopes +program.structured_scopes + +# Gets an organization for a program +program.organization + +# Gets assets for an organization +program.organization.assets + +# Updates an asset for an organization +asset = program.organization.assets[0] +asset.update( + attributes: { + description: "This is the new description" + } +) ``` ## State change hooks You can add hooks that will be called for every state change. This can be useful e.g. for ensuring that reports always get assigned or calling out to external services for specific state changes.