Class/Module Index [+]

Quicksearch

ChefZero::Endpoints::NodeEndpoint

/nodes/ID

Public Instance Methods

populate_defaults(request, response_json) click to toggle source
# File lib/chef_zero/endpoints/node_endpoint.rb, line 9
def populate_defaults(request, response_json)
  node = JSON.parse(response_json, :create_additions => false)
  node = DataNormalizer.normalize_node(node, request.rest_path[1])
  JSON.pretty_generate(node)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.