lib/hackerone/client/report.rb in hackerone-client-0.18.0 vs lib/hackerone/client/report.rb in hackerone-client-0.19.0

- old
+ new

@@ -172,10 +172,10 @@ ) Swag.new(response_body, program) end def update_severity(rating:) - raise ArgumentError, "Invalid severity rating" unless SEVERITY_RATINGS.include?(rating) + raise ArgumentError, "Invalid severity rating" unless SEVERITY_RATINGS.include?(rating.to_s) request_body = { type: "severity", attributes: { rating: rating