diff --git a/lib/google/api_client/auth/storage.rb b/lib/google/api_client/auth/storage.rb index e7cc5bc4e..c762316e7 100644 --- a/lib/google/api_client/auth/storage.rb +++ b/lib/google/api_client/auth/storage.rb @@ -38,6 +38,7 @@ module Google # @params [Object] Storage object def initialize(store) @store= store + @authorization = nil end ## diff --git a/lib/google/api_client/batch.rb b/lib/google/api_client/batch.rb index 627b7680a..45a2e3104 100644 --- a/lib/google/api_client/batch.rb +++ b/lib/google/api_client/batch.rb @@ -87,6 +87,7 @@ module Google # block to be called when result ready def initialize(options = {}, &block) @calls = [] + @global_callback = nil @global_callback = block if block_given? @last_auto_id = 0