Skip to content

Commit

Permalink
Nix unused logger
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeclaghorn committed Sep 2, 2018
1 parent df9f054 commit 4baa103
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions lib/google_sign_in.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
module GoogleSignIn
mattr_accessor :client_id
mattr_accessor :client_secret

mattr_accessor :logger, default: Logger.new(STDOUT)
end

require 'google_sign_in/identity'
Expand Down
1 change: 0 additions & 1 deletion lib/google_sign_in/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ class Engine < ::Rails::Engine
config.after_initialize do
GoogleSignIn.client_id = config.google_sign_in.client_id || app.credentials.dig(:google_sign_in, :client_id)
GoogleSignIn.client_secret = config.google_sign_in.client_secret || app.credentials.dig(:google_sign_in, :client_secret)
GoogleSignIn.logger = config.google_sign_in.logger || Rails.logger
end
end

Expand Down

0 comments on commit 4baa103

Please sign in to comment.