Parent

Methods

Class/Module Index [+]

Quicksearch

ChefZero::Endpoints::RoleEnvironmentsEndpoint

/roles/NAME/environments

Public Instance Methods

get(request) click to toggle source
# File lib/chef_zero/endpoints/role_environments_endpoint.rb, line 8
def get(request)
  role = JSON.parse(get_data(request, request.rest_path[0..1]), :create_additions => false)
  json_response(200, [ '_default' ] + (role['env_run_lists'].keys || []))
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.