lib/intercom/request.rb in intercom-2.1.0 vs lib/intercom/request.rb in intercom-2.1.1

- old
+ new

@@ -37,10 +37,10 @@ request["Content-Type"] = "application/json" request end def self.default_headers - {'Accept-Encoding' => 'gzip, deflate', 'Accept' => 'application/vnd.intercom.3+json'} + {'Accept-Encoding' => 'gzip, deflate', 'Accept' => 'application/vnd.intercom.3+json', 'User-Agent' => "Intercom-Ruby/#{Intercom::VERSION}"} end def client(uri) net = Net::HTTP.new(uri.host, uri.port) if uri.is_a?(URI::HTTPS)