# File lib/rhc/rest/application.rb, line 191 def set_environment_variables(env_vars=[]) debug "Adding environment variable(s) #{env_vars.inspect} for #{name}" if supports? "SET_UNSET_ENVIRONMENT_VARIABLES" rest_method "SET_UNSET_ENVIRONMENT_VARIABLES", :environment_variables => env_vars.map{|item| item.to_hash} else raise RHC::EnvironmentVariablesNotSupportedException.new end end