Class: Swagger::Blocks::HeaderNode
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
#items(&block) ⇒ Object
677 678 679 |
# File 'lib/swagger/blocks.rb', line 677 def items(&block) self.data[:items] = Swagger::Blocks::ItemsNode.call(version: version, &block) end |