lib/hackerone/client.rb in hackerone-client-0.19.0 vs lib/hackerone/client.rb in hackerone-client-0.20.0
- old
+ new
@@ -12,12 +12,14 @@
require_relative "client/user"
require_relative "client/group"
require_relative "client/structured_scope"
require_relative "client/swag"
require_relative "client/address"
+require_relative "client/attachment"
require_relative "client/bounty"
require_relative "client/incremental/activities"
+require "active_support/core_ext/hash"
module HackerOne
module Client
class NotConfiguredError < StandardError; end
@@ -110,10 +112,10 @@
# summary: Summary of the report
# impact: Impact of the report
# severity_rating: severity of report, must be one of https://api.hackerone.com/reference/#severity-ratings
# source: where the report came from, i.e. API, Bugcrowd, etc.
#
- # returns an Hackerone::Client::Report object or raises an error if
+ # returns an HackerOne::Client::Report object or raises an error if
# error during creation
def create_report(title:, summary:, impact:, severity_rating:, source:)
raise ArgumentError, "Program cannot be nil" unless program
data = {