class HackerOne::Client::StructuredScope
Constants
- DELEGATES
Public Class Methods
new(scope)
click to toggle source
# File lib/hackerone/client/structured_scope.rb, line 16 def initialize(scope) @scope = scope end
Public Instance Methods
id()
click to toggle source
# File lib/hackerone/client/structured_scope.rb, line 20 def id @scope[:id] end
Private Instance Methods
attributes()
click to toggle source
# File lib/hackerone/client/structured_scope.rb, line 26 def attributes OpenStruct.new(@scope[:attributes]) end