Class: HackerOne::Client::StructuredScope
- Inherits:
-
Object
- Object
- HackerOne::Client::StructuredScope
- Defined in:
- lib/hackerone/client/structured_scope.rb
Constant Summary collapse
- DELEGATES =
[ :asset_identifier, :asset_type, :eligible_for_bounty, :eligible_for_submission, :instruction ]
Instance Method Summary collapse
- #id ⇒ Object
-
#initialize(scope) ⇒ StructuredScope
constructor
A new instance of StructuredScope.
Constructor Details
#initialize(scope) ⇒ StructuredScope
Returns a new instance of StructuredScope.
16 17 18 |
# File 'lib/hackerone/client/structured_scope.rb', line 16 def initialize(scope) @scope = scope end |
Instance Method Details
#id ⇒ Object
20 21 22 |
# File 'lib/hackerone/client/structured_scope.rb', line 20 def id @scope[:id] end |