Class: Swagger::Blocks::SecuritySchemeNode
- Defined in:
- lib/swagger/blocks.rb
Overview
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
-
#scopes(&block) ⇒ Object
TODO support ^x- Vendor Extensions.
Methods inherited from Node
#as_json, call, #data, #is_swagger_1_2?, #is_swagger_2_0?, #key
Instance Method Details
#scopes(&block) ⇒ Object
TODO support ^x- Vendor Extensions
557 558 559 |
# File 'lib/swagger/blocks.rb', line 557 def scopes(&block) self.data[:scopes] = Swagger::Blocks::ScopesNode.call(version: version, &block) end |