lib/googleauth/credentials.rb in googleauth-1.3.0 vs lib/googleauth/credentials.rb in googleauth-1.5.0
- old
+ new
@@ -353,10 +353,10 @@
def initialize keyfile, options = {}
verify_keyfile_provided! keyfile
@project_id = options["project_id"] || options["project"]
@quota_project_id = options["quota_project_id"]
case keyfile
- when Signet::OAuth2::Client
+ when Google::Auth::BaseClient
update_from_signet keyfile
when Hash
update_from_hash keyfile, options
else
update_from_filepath keyfile, options