Class: RubstApi::SecurityDependency
- Inherits:
-
Dependency
- Object
- Dependency
- RubstApi::SecurityDependency
- Defined in:
- lib/rubst_api/dependencies.rb
Instance Attribute Summary collapse
-
#scopes ⇒ Object
readonly
Returns the value of attribute scopes.
Attributes inherited from Dependency
#callable, #dependencies, #use_cache
Instance Method Summary collapse
-
#initialize(callable, scopes: [], **options) ⇒ SecurityDependency
constructor
A new instance of SecurityDependency.
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: [], **) super(callable, **) @scopes = scopes end |
Instance Attribute Details
#scopes ⇒ Object (readonly)
Returns the value of attribute scopes.
48 49 50 |
# File 'lib/rubst_api/dependencies.rb', line 48 def scopes @scopes end |