Class: HackerOne::Client::Bounty

Inherits:
Object
  • Object
show all
Defined in:
lib/hackerone/client/bounty.rb

Instance Method Summary collapse

Constructor Details

#initialize(bounty) ⇒ Bounty

Returns a new instance of Bounty.



16
17
18
# File 'lib/hackerone/client/bounty.rb', line 16

def initialize(bounty)
  @bounty = bounty
end

Instance Method Details

#idObject



20
21
22
# File 'lib/hackerone/client/bounty.rb', line 20

def id
  @bounty[:id]
end