# File lib/rhc/commands/domain.rb, line 41 def update(old_namespace, new_namespace) domain = rest_client.find_domain(old_namespace) say "Changing namespace '#{domain.id}' to '#{new_namespace}' ... " domain.update(new_namespace) success "success" info "Applications in this domain will use the new namespace in their URL." 0 end