From eeb7eb3517b644ba43e4fc5c3c250d200e3e363f Mon Sep 17 00:00:00 2001 From: johnnyshields Date: Mon, 15 May 2017 15:41:20 +0900 Subject: [PATCH] Fix compatibility issue with Httparty >= 0.15.0. Backwards compatible with Httparty 0.10 which is the min version in the gemspec. --- lib/googl/utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/googl/utils.rb b/lib/googl/utils.rb index fc2c204..ace7935 100644 --- a/lib/googl/utils.rb +++ b/lib/googl/utils.rb @@ -10,7 +10,7 @@ module Utils # :nodoc: private def modify_headers(item) - Googl::Request.headers.merge!(item) + Googl::Request.headers(item) end def post(url, params={})