Class: Swagger::Blocks::ApiAuthorizationsNode
- Defined in:
- lib/swagger/blocks.rb
Overview
v1.2: NOTE: in the spec this is different than Resource Listing’s authorizations. v1.2: goo.gl/PvwUXj#514-authorizations-object
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
Methods inherited from Node
#as_json, call, #data, #is_swagger_1_2?, #is_swagger_2_0?, #key
Instance Method Details
#authorization(name, &block) ⇒ Object
565 566 567 |
# File 'lib/swagger/blocks.rb', line 565 def (name, &block) self.data[name] ||= Swagger::Blocks::ApiAuthorizationNode.call(version: version, &block) end |