Class: Swagger::Blocks::PropertiesNode
- Defined in:
- lib/swagger/blocks.rb
Overview
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
#property(name, &block) ⇒ Object
740 741 742 |
# File 'lib/swagger/blocks.rb', line 740 def property(name, &block) self.data[name] = Swagger::Blocks::PropertyNode.call(version: version, &block) end |