Class: HackerOne::Client::Bounty
- Inherits:
-
Object
- Object
- HackerOne::Client::Bounty
- Defined in:
- lib/hackerone/client/bounty.rb
Instance Method Summary collapse
- #id ⇒ Object
-
#initialize(bounty) ⇒ Bounty
constructor
A new instance of Bounty.
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
#id ⇒ Object
18 19 20 |
# File 'lib/hackerone/client/bounty.rb', line 18 def id @bounty[:id] end |