Method: Google::Auth::Credentials.env_vars=
- Defined in:
- lib/googleauth/credentials.rb
.env_vars=(new_env_vars) ⇒ Object
Sets the environment variables to search for credentials.
Setting to nil "unsets" the value, and defaults to the superclass
(or to the empty array if there is no superclass).
219 220 221 222 |
# File 'lib/googleauth/credentials.rb', line 219 def self.env_vars= new_env_vars new_env_vars = Array new_env_vars unless new_env_vars.nil? @env_vars = new_env_vars end |