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