lib/hackerone/client.rb in hackerone-client-0.14.0 vs lib/hackerone/client.rb in hackerone-client-0.14.1
- old
+ new
@@ -22,9 +22,11 @@
DEFAULT_LOW_RANGE = 1...999
DEFAULT_MEDIUM_RANGE = 1000...2499
DEFAULT_HIGH_RANGE = 2500...4999
DEFAULT_CRITICAL_RANGE = 5000...100_000_000
+ LENIENT_MODE_ENV_VARIABLE = 'HACKERONE_CLIENT_LENIENT_MODE'
+
class << self
ATTRS = [:low_range, :medium_range, :high_range, :critical_range].freeze
attr_accessor :program
attr_reader *ATTRS