# File lib/rhc/helpers.rb, line 159 def openshift_rest_endpoint uri = to_uri((options.server rescue nil) || ENV['LIBRA_SERVER'] || "openshift.redhat.com") uri.path = '/broker/rest/api' if uri.path.blank? || uri.path == '/' uri end