Class: HackerOne::Client::Attachment
- Inherits:
-
Object
- Object
- HackerOne::Client::Attachment
- Defined in:
- lib/hackerone/client/attachment.rb
Instance Method Summary collapse
- #id ⇒ Object
-
#initialize(attachment) ⇒ Attachment
constructor
A new instance of Attachment.
Constructor Details
#initialize(attachment) ⇒ Attachment
Returns a new instance of Attachment.
9 10 11 |
# File 'lib/hackerone/client/attachment.rb', line 9 def initialize() @attachment = end |
Instance Method Details
#id ⇒ Object
13 14 15 |
# File 'lib/hackerone/client/attachment.rb', line 13 def id @attachment[:id] end |