class HackerOne::Client::Reporter
Public Class Methods
new(reporter)
click to toggle source
# File lib/hackerone/client/reporter.rb, line 8 def initialize(reporter) @reporter = reporter end
Public Instance Methods
attributes()
click to toggle source
# File lib/hackerone/client/reporter.rb, line 16 def attributes OpenStruct.new(@reporter[:attributes]) end
disabled?()
click to toggle source
# File lib/hackerone/client/reporter.rb, line 20 def disabled? attributes.disabled end
id()
click to toggle source
# File lib/hackerone/client/reporter.rb, line 12 def id @reporter[:id] end