Class: Raml::SecurityScheme
- Defined in:
- lib/raml/node/security_scheme.rb
Defined Under Namespace
Classes: Instance
Instance Attribute Summary
Attributes inherited from ValueNode
Attributes inherited from Node
Instance Method Summary collapse
-
#instantiate(params) ⇒ Raml::SecurityScheme::Instance
Instantiate a new resource type with the given parameters.
Methods inherited from Template
Methods inherited from ValueNode
Methods inherited from Node
Constructor Details
This class inherits a constructor from Raml::ValueNode
Instance Method Details
#instantiate(params) ⇒ Raml::SecurityScheme::Instance
Instantiate a new resource type with the given parameters.
41 42 43 44 45 |
# File 'lib/raml/node/security_scheme.rb', line 41 def instantiate(params) instance = Instance.new( *interpolate(params), @parent ) # instance.apply_resource_type # TODO: do we need apply_security_scheme? instance end |