# File lib/openshift-origin-controller/app/controllers/keys_controller.rb, line 7 def index ssh_keys = Array.new @cloud_user.ssh_keys.each do |name, key| ssh_key = RestKey.new(name, key["key"], key["type"], get_url, nolinks) ssh_keys.push(ssh_key) end if @cloud_user.ssh_keys render_success(:ok, "keys", ssh_keys, "LIST_KEYS", "Found #{ssh_keys.length} ssh keys") end