Sha256: 3012cdad2d97d89353716adb5e5faca734e4168475daae7ba5c6eb8b07b4d3d8
Contents?: true
Size: 447 Bytes
Versions: 16
Compression:
Stored size: 447 Bytes
Contents
require 'rails/railtie' require 'google/api_client/logging' module Google class APIClient ## # Optional support class for Rails. Currently replaces the built-in logger # with Rails' application log. # class Railtie < Rails::Railtie initializer 'google-api-client' do |app| logger = app.config.logger || Rails.logger Google::APIClient.logger = logger unless logger.nil? end end end end
Version data entries
16 entries across 16 versions & 3 rubygems