From 7adcf42958f9f42e3e0243f8514aefa85bdf69a7 Mon Sep 17 00:00:00 2001 From: Tim Emiola Date: Tue, 17 Feb 2015 18:43:00 -0800 Subject: [PATCH] Renamed the error vars --- lib/googleauth.rb | 4 ++-- lib/googleauth/service_account.rb | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/googleauth.rb b/lib/googleauth.rb index 4abc0f7..f68f912 100644 --- a/lib/googleauth.rb +++ b/lib/googleauth.rb @@ -34,7 +34,7 @@ module Google # Module Auth provides classes that provide Google-specific authorization # used to access Google APIs. module Auth - NOT_FOUND = < e - raise "#{NOT_FOUND_PREFIX}: #{e}" + raise "#{NOT_FOUND_ERROR}: #{e}" end # Creates an instance from a well known path. @@ -94,7 +94,7 @@ module Google return nil unless File.exist?(path) return new(scope, File.open(path)) rescue StandardError => e - raise "#{WELL_KNOWN_PREFIX}: #{e}" + raise "#{WELL_KNOWN_ERROR}: #{e}" end end