provider/ansible/documentation.rb
# Builds out a full YAML block for RETURNS
# This includes the YAML for the property as well as any nested props
Builds out a full YAML block for RETURNS
This includes the YAML for the property as well as any nested props
Builds out a full YAML block for RETURNS This includes the YAML for the property as well as any nested props
def return_property_yaml(prop, spaces)
        block = minimal_return_block(prop, spaces)
        return block unless prop.is_a? Api::Type::NestedObject
        block << indent('contains:', 4)
        block.concat(
          prop.properties.map do |p|
            indent(return_property_yaml(p, spaces + 4), 8)
          end
        )
      end
def return_property_yaml ( prop , spaces ) block = minimal_return_block ( prop , spaces ) return block unless prop . is_a? Api :: Type :: NestedObject block << indent ( 'contains:' , 4 ) block . concat ( prop . properties . map do | p | indent ( return_property_yaml ( p , spaces + 4 ) , 8 ) end ) end
Builds out a full YAML block for RETURNS
This includes the YAML for the property as well as any nested props
Builds out a full YAML block for RETURNS This includes the YAML for the property as well as any nested props
prop
<not_specific>
spaces
<not_specific>