lib/hackerone/client/report.rb in hackerone-client-0.5.0 vs lib/hackerone/client/report.rb in hackerone-client-0.5.1

- old
+ new

@@ -33,9 +33,13 @@ def payment_total payments.reduce(0) { |total, payment| total + payment_amount(payment) } end + def structured_scope + StructuredScope.new(relationships[:structured_scope]) + end + # Excludes reports where the payout amount is 0 indicating swag-only or no # payout for the issue supplied def risk case payment_total when HackerOne::Client.low_range || DEFAULT_LOW_RANGE