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.



14
15
16
# File 'lib/hackerone/client/bounty.rb', line 14

def initialize(bounty)
  @bounty = bounty
end

Instance Method Details

#idObject



18
19
20
# File 'lib/hackerone/client/bounty.rb', line 18

def id
  @bounty[:id]
end