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.
16 17 18 |
# File 'lib/hackerone/client/bounty.rb', line 16 def initialize(bounty) @bounty = bounty end |
Instance Method Details
#id ⇒ Object
20 21 22 |
# File 'lib/hackerone/client/bounty.rb', line 20 def id @bounty[:id] end |