class Raml::SecurityScheme
Public Instance Methods
instantiate(params)
click to toggle source
Instantiate a new resource type with the given parameters. @param params [Hash] the parameters to interpolate in the resource type. @return [Raml::SecurityScheme::Instance] the instantiated resouce type.
# 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