Permalink
Browse files

Fixed reference error when logging google auth failure

Author: @pbadenski
Author: @gtrogers
  • Loading branch information...
1 parent ba9a0bf commit 61c2fa87ef3b838bd361fe1ee4b8f2eb3611e313 @gtrogers gtrogers committed Sep 4, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +1 −1 lib/google_auth_bridge.rb
View
1 .gitignore
@@ -3,4 +3,5 @@ Gemfile.lock
spec/reports
.bundle
*.gem
+*.swp
coverage
View
2 lib/google_auth_bridge.rb
@@ -8,7 +8,7 @@ class GoogleAuthentication
def self.create_from_config_file(scope, file_name, token_file)
config = YAML.load_file(file_name)
client_id, client_secret = config[:google_client_id], config[:google_client_secret]
- raise InvalidFileFormatError.new(@token_file) if client_id.nil? or client_secret.nil?
+ raise InvalidFileFormatError.new(token_file) if client_id.nil? or client_secret.nil?
GoogleAuthentication.new(
scope,
client_id,

0 comments on commit 61c2fa8

Please sign in to comment.