lib/googleauth/client_id.rb in googleauth-1.8.0 vs lib/googleauth/client_id.rb in googleauth-1.8.1
- old
+ new
@@ -62,10 +62,9 @@
# @note Direct instantiation is discouraged to avoid embedding IDs
# and secrets in source. See {#from_file} to load from
# `client_secrets.json` files.
#
def initialize id, secret
- CredentialsLoader.warn_if_cloud_sdk_credentials id
raise "Client id can not be nil" if id.nil?
raise "Client secret can not be nil" if secret.nil?
@id = id
@secret = secret
end