Module: HackerOne::Client

Defined in:
lib/hackerone/client.rb,
lib/hackerone/client/report.rb,
lib/hackerone/client/weakness.rb

Defined Under Namespace

Classes: Api, NotConfiguredError, Report, Weakness

Constant Summary collapse

DEFAULT_LOW_RANGE =
1...999
DEFAULT_MEDIUM_RANGE =
1000...2499
DEFAULT_HIGH_RANGE =
2500...4999
DEFAULT_CRITICAL_RANGE =
5000...100_000_000
STATES =
%w(
  new
  triaged
  needs-more-info
  resolved
  not-applicable
  informative
  duplicate
  spam
).map(&:to_sym)
ATTRS =
[:low_range, :medium_range, :high_range, :critical_range].freeze

Class Attribute Summary collapse

Class Attribute Details

.programObject

Returns the value of attribute program.



28
29
30
# File 'lib/hackerone/client.rb', line 28

def program
  @program
end