Class: RubstApi::SecurityDependency

Inherits:
Dependency show all
Defined in:
lib/rubst_api/dependencies.rb

Instance Attribute Summary collapse

Attributes inherited from Dependency

#callable, #dependencies, #use_cache

Instance Method Summary collapse

Constructor Details

#initialize(callable, scopes: [], **options) ⇒ SecurityDependency

Returns a new instance of SecurityDependency.



49
50
51
52
# File 'lib/rubst_api/dependencies.rb', line 49

def initialize(callable, scopes: [], **options)
  super(callable, **options)
  @scopes = scopes
end

Instance Attribute Details

#scopesObject (readonly)

Returns the value of attribute scopes.



48
49
50
# File 'lib/rubst_api/dependencies.rb', line 48

def scopes
  @scopes
end